Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test2,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008288/0.008288, allocations: 1.34 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.646e-05, allocations: 0 / 13.23 MB, free: 2.285 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001066/0.001158, allocations: 358.6 kB / 13.58 MB, free: 2.254 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007129/0.008328, allocations: 3.345 MB / 16.92 MB, free: 1.809 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001598/0.008542, allocations: 49.91 kB / 16.97 MB, free: 1.762 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.03948, allocations: 5.335 MB / 22.31 MB, free: 1.285 MB / 10.45 MB Notification: Performance of FrontEnd: time 1.834e-06/0.03954, allocations: 0 / 22.31 MB, free: 1.285 MB / 10.45 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.03957, allocations: 8 kB / 22.31 MB, free: 1.277 MB / 10.45 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008374/0.04042, allocations: 0.5089 MB / 22.82 MB, free: 0.7461 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.04048, allocations: 12.59 kB / 22.84 MB, free: 0.7344 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.04057, allocations: 24.58 kB / 22.86 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.041, allocations: 255.6 kB / 23.11 MB, free: 452 kB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.04104, allocations: 8.344 kB / 23.12 MB, free: 444 kB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.04111, allocations: 17.78 kB / 23.14 MB, free: 428 kB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004905/0.04161, allocations: 215.7 kB / 23.35 MB, free: 280 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.04225, allocations: 306.6 kB / 23.65 MB, free: 32 kB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.04229, allocations: 0 / 23.65 MB, free: 32 kB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.04234, allocations: 11.95 kB / 23.66 MB, free: 20 kB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.0424, allocations: 16.55 kB / 23.67 MB, free: 4 kB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009745/0.05216, allocations: 0.6151 MB / 24.29 MB, free: 0.6758 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.0525, allocations: 133.2 kB / 24.42 MB, free: 0.6523 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.05269, allocations: 77.77 kB / 24.49 MB, free: 0.6445 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.05313, allocations: 430 kB / 24.91 MB, free: 180 kB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.05317, allocations: 34.09 kB / 24.95 MB, free: 140 kB / 10.45 MB Notification: Performance of pre-optimization done (n=14): time 3.477e-06/0.05319, allocations: 0 / 24.95 MB, free: 140 kB / 10.45 MB Notification: Performance of matching and sorting (n=14): time 0.0005988/0.0538, allocations: 181.7 kB / 25.12 MB, free: 96 kB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.05391, allocations: 113.1 kB / 25.24 MB, free: 3.461 MB / 13.94 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.05409, allocations: 143.1 kB / 25.37 MB, free: 3.359 MB / 13.94 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.05415, allocations: 28.2 kB / 25.4 MB, free: 3.328 MB / 13.94 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.05428, allocations: 156.8 kB / 25.56 MB, free: 3.219 MB / 13.94 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.05436, allocations: 45.28 kB / 25.6 MB, free: 3.195 MB / 13.94 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.05439, allocations: 2.125 kB / 25.6 MB, free: 3.195 MB / 13.94 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.05454, allocations: 322.4 kB / 25.92 MB, free: 2.883 MB / 13.94 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.05476, allocations: 81.5 kB / 26 MB, free: 2.883 MB / 13.94 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.055, allocations: 127.9 kB / 26.12 MB, free: 2.82 MB / 13.94 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.05529, allocations: 83.19 kB / 26.2 MB, free: 2.82 MB / 13.94 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.05531, allocations: 1.719 kB / 26.2 MB, free: 2.82 MB / 13.94 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006111/0.05593, allocations: 240.7 kB / 26.44 MB, free: 2.781 MB / 13.94 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.05601, allocations: 42.11 kB / 26.48 MB, free: 2.75 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.05604, allocations: 0 / 26.48 MB, free: 2.75 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.05607, allocations: 7.75 kB / 26.49 MB, free: 2.746 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.05632, allocations: 38.48 kB / 26.53 MB, free: 2.742 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.05634, allocations: 3.281 kB / 26.53 MB, free: 2.742 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.05653, allocations: 24.02 kB / 26.55 MB, free: 2.738 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.05659, allocations: 13.12 kB / 26.56 MB, free: 2.738 MB / 13.94 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * 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 0.0001944/0.05679, allocations: 154.3 kB / 26.72 MB, free: 2.598 MB / 13.94 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005191/0.05732, allocations: 189.5 kB / 26.9 MB, free: 2.559 MB / 13.94 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.05739, allocations: 9.562 kB / 26.91 MB, free: 2.555 MB / 13.94 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.05812, allocations: 266.3 kB / 27.17 MB, free: 2.504 MB / 13.94 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.05816, allocations: 3.969 kB / 27.17 MB, free: 2.504 MB / 13.94 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.05817, allocations: 0 / 27.17 MB, free: 2.504 MB / 13.94 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.05819, allocations: 0 / 27.17 MB, free: 2.504 MB / 13.94 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.05917, allocations: 0.4919 MB / 27.67 MB, free: 2.238 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.0592, allocations: 4 kB / 27.67 MB, free: 2.234 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.05942, allocations: 29.75 kB / 27.7 MB, free: 2.23 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.05944, allocations: 3.953 kB / 27.7 MB, free: 2.227 MB / 13.94 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.05948, allocations: 9.531 kB / 27.71 MB, free: 2.227 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.05949, allocations: 0 / 27.71 MB, free: 2.227 MB / 13.94 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.0595, allocations: 1.328 kB / 27.71 MB, free: 2.227 MB / 13.94 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.06026, allocations: 391.5 kB / 28.1 MB, free: 2.082 MB / 13.94 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.06035, allocations: 93.77 kB / 28.19 MB, free: 1.977 MB / 13.94 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.06042, allocations: 11.05 kB / 28.2 MB, free: 1.969 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.06062, allocations: 18.16 kB / 28.22 MB, free: 1.965 MB / 13.94 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.06077, allocations: 34.28 kB / 28.25 MB, free: 1.945 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.06082, allocations: 12.83 kB / 28.26 MB, free: 1.941 MB / 13.94 MB Notification: Performance of sorting global known variables: time 0.0001041/0.06093, allocations: 104.1 kB / 28.36 MB, free: 1.852 MB / 13.94 MB Notification: Performance of sort global known variables: time 4.31e-07/0.06094, allocations: 0 / 28.36 MB, free: 1.852 MB / 13.94 MB Notification: Performance of remove unused functions: time 0.0005838/0.06154, allocations: 93.97 kB / 28.46 MB, free: 1.773 MB / 13.94 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.001454/0.063, allocations: 0.9834 MB / 29.44 MB, free: 0.8711 MB / 13.94 MB Notification: Performance of simCode: created initialization part: time 0.0006302/0.06366, allocations: 265 kB / 29.7 MB, free: 0.6211 MB / 13.94 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.06369, allocations: 0 / 29.7 MB, free: 0.6211 MB / 13.94 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.06399, allocations: 166.7 kB / 29.86 MB, free: 464 kB / 13.94 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.06434, allocations: 23.17 kB / 29.88 MB, free: 448 kB / 13.94 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.06566, allocations: 418.9 kB / 30.29 MB, free: 64 kB / 13.94 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009795/0.07548, allocations: 0.7798 MB / 31.07 MB, free: 7.672 MB / 18.78 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.07582, allocations: 60.19 kB / 31.13 MB, free: 7.672 MB / 18.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.07602, allocations: 79 kB / 31.21 MB, free: 7.664 MB / 18.78 MB Notification: Performance of SimCode: time 1.152e-06/0.07604, allocations: 0 / 31.21 MB, free: 7.664 MB / 18.78 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.1194, allocations: 4.013 MB / 35.22 MB, free: 5.918 MB / 18.78 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.1197, allocations: 95.44 kB / 35.31 MB, free: 5.824 MB / 18.78 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/2.686, allocations: 0 / 35.31 MB, free: 5.824 MB / 18.78 MB (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test2.fmu > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)