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.01301/0.01301, allocations: 1.335 MB / 8.813 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.535e-05, allocations: 3 kB / 13.23 MB, free: 2.285 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009008/0.0009783, allocations: 357.7 kB / 13.58 MB, free: 2.254 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0054/0.006409, allocations: 2.743 MB / 16.32 MB, free: 2.406 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.006695, allocations: 47.98 kB / 16.37 MB, free: 2.359 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.01801, allocations: 2.329 MB / 18.7 MB, free: 32 kB / 10.45 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01807, allocations: 0 / 18.7 MB, free: 32 kB / 10.45 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.01809, allocations: 0 / 18.7 MB, free: 32 kB / 10.45 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.006957/0.02506, allocations: 359.3 kB / 19.05 MB, free: 2.691 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.02513, allocations: 10.53 kB / 19.06 MB, free: 2.691 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.02518, allocations: 2.891 kB / 19.06 MB, free: 2.691 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.0254, allocations: 189 kB / 19.25 MB, free: 2.492 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.02544, allocations: 352 / 19.25 MB, free: 2.492 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.02546, allocations: 2.25 kB / 19.25 MB, free: 2.492 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.319e-05/0.02556, allocations: 25.31 kB / 19.27 MB, free: 2.492 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.02567, allocations: 50.44 kB / 19.32 MB, free: 2.461 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.02569, allocations: 2.906 kB / 19.33 MB, free: 2.461 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.02571, allocations: 3.953 kB / 19.33 MB, free: 2.457 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.02573, allocations: 2.406 kB / 19.33 MB, free: 2.457 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.02627, allocations: 341.9 kB / 19.67 MB, free: 2.133 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.02634, allocations: 22.73 kB / 19.69 MB, free: 2.109 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.02637, allocations: 6.891 kB / 19.69 MB, free: 2.102 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.02639, allocations: 0.9688 kB / 19.7 MB, free: 2.102 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.02642, allocations: 46.42 kB / 19.74 MB, free: 2.059 MB / 10.45 MB Notification: Performance of pre-optimization done (n=2): time 2.535e-06/0.02643, allocations: 0.75 kB / 19.74 MB, free: 2.059 MB / 10.45 MB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.0266, allocations: 39.53 kB / 19.78 MB, free: 2.023 MB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.02665, allocations: 78.3 kB / 19.86 MB, free: 1.93 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.02674, allocations: 106.5 kB / 19.96 MB, free: 1.84 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.02676, allocations: 26.77 kB / 19.99 MB, free: 1.809 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.02681, allocations: 92.05 kB / 20.08 MB, free: 1.723 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.02683, allocations: 6.344 kB / 20.08 MB, free: 1.719 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.02684, allocations: 0.8125 kB / 20.08 MB, free: 1.719 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.02691, allocations: 317.2 kB / 20.39 MB, free: 1.406 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.02694, allocations: 8.844 kB / 20.4 MB, free: 1.402 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.02699, allocations: 23.75 kB / 20.43 MB, free: 1.387 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/0.02706, allocations: 10.12 kB / 20.44 MB, free: 1.387 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02708, allocations: 0 / 20.44 MB, free: 1.387 MB / 10.45 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.02727, allocations: 61.61 kB / 20.5 MB, free: 1.355 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.02732, allocations: 31.73 kB / 20.53 MB, free: 1.324 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.02733, allocations: 3.125 kB / 20.53 MB, free: 1.324 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.02736, allocations: 6.391 kB / 20.54 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.02747, allocations: 10.97 kB / 20.55 MB, free: 1.316 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.02749, allocations: 5.812 kB / 20.55 MB, free: 1.316 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.02756, allocations: 7.094 kB / 20.56 MB, free: 1.312 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.02759, allocations: 4.312 kB / 20.56 MB, free: 1.312 MB / 10.45 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 () * 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 6.987e-05/0.02767, allocations: 134.8 kB / 20.7 MB, free: 1.176 MB / 10.45 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.908e-05/0.02777, allocations: 43.08 kB / 20.74 MB, free: 1.145 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.02781, allocations: 7.859 kB / 20.74 MB, free: 1.137 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.02785, allocations: 14.09 kB / 20.76 MB, free: 1.129 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02786, allocations: 6.375 kB / 20.76 MB, free: 1.125 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02787, allocations: 4.031 kB / 20.77 MB, free: 1.121 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02788, allocations: 0 / 20.77 MB, free: 1.121 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.02803, allocations: 136.2 kB / 20.9 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02805, allocations: 2.906 kB / 20.9 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.02808, allocations: 0 / 20.9 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02809, allocations: 2.875 kB / 20.91 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.02811, allocations: 7.219 kB / 20.91 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.02812, allocations: 3.953 kB / 20.92 MB, free: 0.9609 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02813, allocations: 0 / 20.92 MB, free: 0.9609 MB / 10.45 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.9e-05/0.02824, allocations: 136.3 kB / 21.05 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.02828, allocations: 79.67 kB / 21.13 MB, free: 0.7344 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.02831, allocations: 0 / 21.13 MB, free: 0.7344 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.0284, allocations: 5.891 kB / 21.13 MB, free: 0.7344 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.02843, allocations: 7.391 kB / 21.14 MB, free: 0.7305 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.02844, allocations: 0 / 21.14 MB, free: 0.7305 MB / 10.45 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.02849, allocations: 87.44 kB / 21.23 MB, free: 0.6562 MB / 10.45 MB Notification: Performance of sort global known variables: time 4.41e-07/0.0285, allocations: 0 / 21.23 MB, free: 0.6562 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.0003415/0.02885, allocations: 20.41 kB / 21.25 MB, free: 0.6523 MB / 10.45 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) * 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.0003623/0.02922, allocations: 0.6766 MB / 21.92 MB, free: 3.492 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.02939, allocations: 74.84 kB / 22 MB, free: 3.43 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.02941, allocations: 0 / 22 MB, free: 3.43 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.02946, allocations: 61.44 kB / 22.06 MB, free: 3.367 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.02966, allocations: 8.109 kB / 22.07 MB, free: 3.359 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.03125, allocations: 321.5 kB / 22.38 MB, free: 3.246 MB / 13.95 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.03159, allocations: 0.6804 MB / 23.06 MB, free: 2.551 MB / 13.95 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.03171, allocations: 40 kB / 23.1 MB, free: 2.547 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.03178, allocations: 22.75 kB / 23.12 MB, free: 2.539 MB / 13.95 MB Notification: Performance of SimCode: time 1.272e-06/0.03179, allocations: 0 / 23.12 MB, free: 2.539 MB / 13.95 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.06632, allocations: 0.909 MB / 24.03 MB, free: 2.309 MB / 13.95 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.06665, allocations: 96.75 kB / 24.12 MB, free: 2.211 MB / 13.95 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.355, allocations: 0 / 24.12 MB, free: 2.211 MB / 13.95 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)