Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004863/0.004863, allocations: 101.5 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 194.1 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.157/0.157, allocations: 8.02 MB / 298.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2238, allocations: 51.2 MB / 463.8 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001543/0.2254, allocations: 484 kB / 464.2 MB, free: 17.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.2257, allocations: 98.39 kB / 464.3 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.2258, allocations: 1.094 kB / 464.3 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.2258, allocations: 4 kB / 464.3 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.2259, allocations: 1.781 kB / 464.3 MB, free: 17.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2261, allocations: 26.53 kB / 464.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2262, allocations: 35.83 kB / 464.4 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.2263, allocations: 6.734 kB / 464.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.2263, allocations: 14.36 kB / 464.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.2264, allocations: 24.56 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2264, allocations: 2.594 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.2265, allocations: 31.75 kB / 464.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.2265, allocations: 11.44 kB / 464.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2266, allocations: 17 kB / 464.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2267, allocations: 61.78 kB / 464.6 MB, free: 17.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2268, allocations: 1.281 kB / 464.6 MB, free: 17.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2268, allocations: 0.7031 kB / 464.6 MB, free: 17.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.2268, allocations: 0 / 464.6 MB, free: 17.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0002865/0.2271, allocations: 358.7 kB / 464.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2271, allocations: 9.625 kB / 464.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2271, allocations: 38.5 kB / 465 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.2272, allocations: 8.125 kB / 465 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.409e-05/0.2272, allocations: 162.2 kB / 465.1 MB, free: 16.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2273, allocations: 2.75 kB / 465.1 MB, free: 16.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2273, allocations: 11 kB / 465.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2275, allocations: 90.7 kB / 465.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2275, allocations: 11.92 kB / 465.2 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2275, allocations: 5.25 kB / 465.2 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.2275, allocations: 8.828 kB / 465.3 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.2276, allocations: 49.36 kB / 465.3 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.228, allocations: 397.4 kB / 465.7 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.228, allocations: 55.81 kB / 465.7 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.2281, allocations: 25.55 kB / 465.8 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.2284, allocations: 198.7 kB / 466 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.2285, allocations: 36.42 kB / 466 MB, free: 16.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2285, allocations: 0 / 466 MB, free: 16.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002521/0.2287, allocations: 93.89 kB / 466.1 MB, free: 16.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2288, allocations: 83.03 kB / 466.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.2288, allocations: 118 kB / 466.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.2289, allocations: 26.86 kB / 466.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.2289, allocations: 112.4 kB / 466.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.2289, allocations: 34.92 kB / 466.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.229, allocations: 38.06 kB / 466.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.229, allocations: 319 kB / 466.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.2291, allocations: 22.8 kB / 466.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.2292, allocations: 127.1 kB / 467 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2293, allocations: 165.9 kB / 467.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2293, allocations: 1.062 kB / 467.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002203/0.2296, allocations: 164.2 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2296, allocations: 7.594 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2296, allocations: 4.344 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2296, allocations: 3.875 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.2321, allocations: 437.8 kB / 467.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.2333, allocations: 4.685 MB / 472.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.2334, allocations: 22.12 kB / 472.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2334, allocations: 12.25 kB / 472.4 MB, free: 10.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.2335, allocations: 131.2 kB / 472.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2335, allocations: 6.75 kB / 472.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.2337, allocations: 121.4 kB / 472.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2337, allocations: 1.219 kB / 472.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2338, allocations: 0 / 472.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2338, allocations: 6.094 kB / 472.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2339, allocations: 172.8 kB / 472.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2339, allocations: 4 kB / 472.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.2363, allocations: 424 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2364, allocations: 480 / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2364, allocations: 7.328 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.2379, allocations: 4.68 MB / 478 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2379, allocations: 5.375 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2381, allocations: 244.1 kB / 478.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2381, allocations: 87.94 kB / 478.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2381, allocations: 6.094 kB / 478.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.2382, allocations: 4.094 kB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2383, allocations: 11.11 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.2383, allocations: 3.547 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.2383, allocations: 95.53 kB / 478.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.2383, allocations: 0 / 478.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.2387, allocations: 27.2 kB / 478.4 MB, free: 4.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006388/0.2393, allocations: 0.8062 MB / 479.3 MB, free: 19.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.2424, allocations: 0.5397 MB / 479.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2424, allocations: 0 / 479.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.2451, allocations: 0.4982 MB / 480.3 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2454, allocations: 11.47 kB / 480.3 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.2461, allocations: 265.9 kB / 480.6 MB, free: 19.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2464, allocations: 0.694 MB / 481.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.2465, allocations: 14.56 kB / 481.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2465, allocations: 18.88 kB / 481.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2465, allocations: 1.25 kB / 481.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2763, allocations: 2.985 MB / 484.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.14, allocations: 6.359 kB / 484.3 MB, free: 18.34 MB / 366.1 MB (rm -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)