Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01266/0.01266, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.108e-05, allocations: 2.609 kB / 13.23 MB, free: 2.207 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000625/0.0006792, allocations: 356.3 kB / 13.58 MB, free: 2.176 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003895/0.004592, allocations: 3.035 MB / 16.62 MB, free: 2.102 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001478/0.00479, allocations: 48.95 kB / 16.66 MB, free: 2.055 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.02443, allocations: 2.827 MB / 19.49 MB, free: 2.574 MB / 10.45 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02448, allocations: 1.812 kB / 19.49 MB, free: 2.574 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.02451, allocations: 3.969 kB / 19.5 MB, free: 2.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003967/0.02491, allocations: 374.9 kB / 19.86 MB, free: 2.203 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.02497, allocations: 11.72 kB / 19.87 MB, free: 2.203 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.02503, allocations: 9.453 kB / 19.88 MB, free: 2.199 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.02523, allocations: 178.7 kB / 20.06 MB, free: 2.004 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.02526, allocations: 6.438 kB / 20.06 MB, free: 2.004 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.02528, allocations: 1.328 kB / 20.07 MB, free: 2.004 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.204e-05/0.02536, allocations: 13.97 kB / 20.08 MB, free: 2.004 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.02547, allocations: 68.28 kB / 20.15 MB, free: 1.941 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.02549, allocations: 1.031 kB / 20.15 MB, free: 1.941 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.02552, allocations: 11.52 kB / 20.16 MB, free: 1.938 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.02553, allocations: 0 / 20.16 MB, free: 1.938 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.02597, allocations: 403.7 kB / 20.55 MB, free: 1.539 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.02603, allocations: 23.3 kB / 20.58 MB, free: 1.516 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.02606, allocations: 11.27 kB / 20.59 MB, free: 1.508 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.02608, allocations: 5.75 kB / 20.59 MB, free: 1.508 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.02613, allocations: 35.02 kB / 20.63 MB, free: 1.465 MB / 10.45 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.02614, allocations: 0 / 20.63 MB, free: 1.465 MB / 10.45 MB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.02628, allocations: 40.48 kB / 20.67 MB, free: 1.434 MB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.02633, allocations: 80.42 kB / 20.74 MB, free: 1.34 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.02641, allocations: 104.5 kB / 20.85 MB, free: 1.25 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.02643, allocations: 25.7 kB / 20.87 MB, free: 1.219 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.02648, allocations: 102.7 kB / 20.97 MB, free: 1.125 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.0265, allocations: 11.2 kB / 20.98 MB, free: 1.121 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.02651, allocations: 0 / 20.98 MB, free: 1.121 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.02657, allocations: 318 kB / 21.29 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.0266, allocations: 3.75 kB / 21.3 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.02665, allocations: 53.22 kB / 21.35 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.0267, allocations: 15.06 kB / 21.36 MB, free: 0.75 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.02671, allocations: 0 / 21.36 MB, free: 0.75 MB / 10.45 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.02684, allocations: 64.53 kB / 21.43 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.02687, allocations: 4.469 kB / 21.43 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.02689, allocations: 7.812 kB / 21.44 MB, free: 0.707 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.02691, allocations: 3.953 kB / 21.44 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.02701, allocations: 19.33 kB / 21.46 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.02703, allocations: 2.297 kB / 21.46 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.02712, allocations: 15.78 kB / 21.48 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.02714, allocations: 3.781 kB / 21.48 MB, free: 0.6914 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.775e-05/0.0272, allocations: 120.1 kB / 21.6 MB, free: 0.582 MB / 10.45 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.41e-05/0.02729, allocations: 37.27 kB / 21.64 MB, free: 0.5469 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.02733, allocations: 14.14 kB / 21.65 MB, free: 0.5391 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.02737, allocations: 7.891 kB / 21.66 MB, free: 0.5352 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.02738, allocations: 3.844 kB / 21.66 MB, free: 0.5352 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.02739, allocations: 0 / 21.66 MB, free: 0.5352 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0274, allocations: 0 / 21.66 MB, free: 0.5352 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.02762, allocations: 140.3 kB / 21.8 MB, free: 388 kB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02764, allocations: 6.094 kB / 21.8 MB, free: 388 kB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.02771, allocations: 7.469 kB / 21.81 MB, free: 388 kB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02773, allocations: 0 / 21.81 MB, free: 388 kB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.02775, allocations: 4.031 kB / 21.82 MB, free: 384 kB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.02776, allocations: 7.891 kB / 21.82 MB, free: 376 kB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02777, allocations: 0 / 21.82 MB, free: 376 kB / 10.45 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.02789, allocations: 149.4 kB / 21.97 MB, free: 240 kB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.02794, allocations: 84.92 kB / 22.05 MB, free: 140 kB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.02797, allocations: 0 / 22.05 MB, free: 140 kB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.02808, allocations: 7.125 kB / 22.06 MB, free: 140 kB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.02811, allocations: 10.98 kB / 22.07 MB, free: 132 kB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.02813, allocations: 0 / 22.07 MB, free: 132 kB / 10.45 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.02818, allocations: 88.75 kB / 22.16 MB, free: 56 kB / 10.45 MB Notification: Performance of sort global known variables: time 3.71e-07/0.02819, allocations: 0 / 22.16 MB, free: 56 kB / 10.45 MB Notification: Performance of remove unused functions: time 0.0003209/0.02852, allocations: 11.12 kB / 22.17 MB, free: 56 kB / 10.45 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000463/0.02899, allocations: 0.675 MB / 22.84 MB, free: 2.91 MB / 13.97 MB Notification: Performance of simCode: created initialization part: time 9.982e-05/0.02911, allocations: 21.56 kB / 22.86 MB, free: 2.906 MB / 13.97 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02912, allocations: 0 / 22.86 MB, free: 2.906 MB / 13.97 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.02915, allocations: 8.938 kB / 22.87 MB, free: 2.906 MB / 13.97 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.02942, allocations: 8.484 kB / 22.88 MB, free: 2.902 MB / 13.97 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.02989, allocations: 129.7 kB / 23.01 MB, free: 2.781 MB / 13.97 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.03023, allocations: 0.6884 MB / 23.7 MB, free: 2.082 MB / 13.97 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.0303, allocations: 10.3 kB / 23.71 MB, free: 2.074 MB / 13.97 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.03034, allocations: 13.81 kB / 23.72 MB, free: 2.066 MB / 13.97 MB Notification: Performance of SimCode: time 6.71e-07/0.03035, allocations: 0 / 23.72 MB, free: 2.066 MB / 13.97 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.0656, allocations: 1.002 MB / 24.72 MB, free: 1.91 MB / 13.97 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.06595, allocations: 101.3 kB / 24.82 MB, free: 1.812 MB / 13.97 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.424, allocations: 0 / 24.82 MB, free: 1.812 MB / 13.97 MB (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1a_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1a.fmu > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)