Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01336/0.01336, allocations: 1.363 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.946e-05, allocations: 0 / 23.33 MB, free: 3.938 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006714/0.0007117, allocations: 357.8 kB / 23.68 MB, free: 3.77 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0006399/0.001359, allocations: 388.5 kB / 24.06 MB, free: 3.582 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.000334/0.001704, allocations: 159.8 kB / 24.22 MB, free: 3.43 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.00177, allocations: 6.906 kB / 24.23 MB, free: 3.426 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.00191, allocations: 19.86 kB / 24.25 MB, free: 3.406 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.002151, allocations: 39.84 kB / 24.28 MB, free: 3.367 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 4.103e-05/0.002201, allocations: 27.91 kB / 24.31 MB, free: 3.34 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.002317, allocations: 91.8 kB / 24.4 MB, free: 3.25 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.002382, allocations: 10.52 kB / 24.41 MB, free: 3.238 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.002442, allocations: 48.55 kB / 24.46 MB, free: 3.191 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.002519, allocations: 27.78 kB / 24.49 MB, free: 3.164 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002539, allocations: 5.219 kB / 24.49 MB, free: 3.16 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.002615, allocations: 19.98 kB / 24.51 MB, free: 3.141 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.00264, allocations: 3.984 kB / 24.51 MB, free: 3.137 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.002676, allocations: 33.64 kB / 24.55 MB, free: 3.098 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.002761, allocations: 35.94 kB / 24.58 MB, free: 3.062 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.00277, allocations: 0 / 24.58 MB, free: 3.062 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002775, allocations: 0 / 24.58 MB, free: 3.062 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.002783, allocations: 0 / 24.58 MB, free: 3.062 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003201/0.003108, allocations: 360.8 kB / 24.93 MB, free: 2.656 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.00316, allocations: 12.3 kB / 24.95 MB, free: 2.645 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.453e-05/0.00319, allocations: 34.73 kB / 24.98 MB, free: 2.602 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.00322, allocations: 8.766 kB / 24.99 MB, free: 2.594 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003344, allocations: 168.3 kB / 25.15 MB, free: 2.391 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.003367, allocations: 5.406 kB / 25.16 MB, free: 2.387 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.003384, allocations: 12 kB / 25.17 MB, free: 2.379 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003505, allocations: 50.12 kB / 25.22 MB, free: 2.324 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.003524, allocations: 176 / 25.22 MB, free: 2.324 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.003537, allocations: 4.125 kB / 25.22 MB, free: 2.32 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.003551, allocations: 4 kB / 25.23 MB, free: 2.316 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.003624, allocations: 23.98 kB / 25.25 MB, free: 2.293 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.004089, allocations: 370.2 kB / 25.61 MB, free: 1.863 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.004147, allocations: 34.53 kB / 25.65 MB, free: 1.82 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.004173, allocations: 14.91 kB / 25.66 MB, free: 1.809 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.004185, allocations: 3.938 kB / 25.66 MB, free: 1.805 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.004207, allocations: 34.62 kB / 25.7 MB, free: 1.762 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.004213, allocations: 0 / 25.7 MB, free: 1.762 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.004362, allocations: 67.41 kB / 25.76 MB, free: 1.684 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.004407, allocations: 85.23 kB / 25.85 MB, free: 1.582 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.004479, allocations: 114.6 kB / 25.96 MB, free: 1.461 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.004494, allocations: 25.7 kB / 25.98 MB, free: 1.43 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.004536, allocations: 91.95 kB / 26.07 MB, free: 1.336 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-06/0.004549, allocations: 4 kB / 26.08 MB, free: 1.332 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.004557, allocations: 0 / 26.08 MB, free: 1.332 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.004626, allocations: 318.8 kB / 26.39 MB, free: 1.012 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.004653, allocations: 7.938 kB / 26.4 MB, free: 1.004 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.004684, allocations: 25.66 kB / 26.42 MB, free: 0.9727 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.004725, allocations: 41.69 kB / 26.46 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004732, allocations: 0 / 26.46 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.004836, allocations: 91.25 kB / 26.55 MB, free: 0.8242 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.00487, allocations: 37.69 kB / 26.59 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.00488, allocations: 3.938 kB / 26.59 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.004896, allocations: 0 / 26.59 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.004971, allocations: 8 kB / 26.6 MB, free: 0.7695 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.004982, allocations: 0 / 26.6 MB, free: 0.7695 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.005024, allocations: 12.02 kB / 26.61 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.00504, allocations: 320 / 26.61 MB, free: 0.7578 MB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.005126, allocations: 144.3 kB / 26.75 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.005156, allocations: 7.953 kB / 26.76 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.005181, allocations: 3.891 kB / 26.76 MB, free: 0.582 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005187, allocations: 0 / 26.76 MB, free: 0.582 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005196, allocations: 0 / 26.76 MB, free: 0.582 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.005203, allocations: 3.984 kB / 26.77 MB, free: 0.5781 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.005336, allocations: 169.6 kB / 26.93 MB, free: 372 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005343, allocations: 4 kB / 26.94 MB, free: 368 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.005358, allocations: 128 / 26.94 MB, free: 368 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005365, allocations: 4 kB / 26.94 MB, free: 364 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.005377, allocations: 3.953 kB / 26.95 MB, free: 360 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005383, allocations: 4 kB / 26.95 MB, free: 356 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005388, allocations: 0 / 26.95 MB, free: 356 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.005481, allocations: 165.9 kB / 27.11 MB, free: 168 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.005515, allocations: 81.11 kB / 27.19 MB, free: 68 kB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.005538, allocations: 8.016 kB / 27.2 MB, free: 60 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.005598, allocations: 5.172 kB / 27.2 MB, free: 56 kB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.005631, allocations: 4 kB / 27.21 MB, free: 52 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005639, allocations: 4 kB / 27.21 MB, free: 48 kB / 13.93 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.005729, allocations: 91.25 kB / 27.3 MB, free: 4.641 MB / 18.61 MB Notification: Performance of sort global known variables: time 1.21e-07/0.005735, allocations: 0 / 27.3 MB, free: 4.641 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0002275/0.005967, allocations: 16 kB / 27.32 MB, free: 4.625 MB / 18.61 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.006419, allocations: 0.7144 MB / 28.03 MB, free: 3.879 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.006559, allocations: 75.33 kB / 28.1 MB, free: 3.793 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006569, allocations: 0 / 28.1 MB, free: 3.793 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.006617, allocations: 63.41 kB / 28.17 MB, free: 3.719 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.006825, allocations: 6.953 kB / 28.17 MB, free: 3.715 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.007602, allocations: 428.4 kB / 28.59 MB, free: 3.246 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.007945, allocations: 0.6809 MB / 29.27 MB, free: 2.539 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.008045, allocations: 39.8 kB / 29.31 MB, free: 2.5 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.008099, allocations: 19.42 kB / 29.33 MB, free: 2.48 MB / 18.61 MB Notification: Performance of SimCode: time 2.2e-07/0.008105, allocations: 0 / 29.33 MB, free: 2.48 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.02057, allocations: 1.208 MB / 30.54 MB, free: 1.297 MB / 18.61 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.02085, allocations: 154.4 kB / 30.69 MB, free: 1.051 MB / 18.61 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.47, allocations: 0 / 30.69 MB, free: 1.051 MB / 18.61 MB (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1b_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1b.fmu > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)