Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",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.001091/0.001091, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008419/0.008419, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.119/0.119, allocations: 2.949 MB / 294.4 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 356.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08284, allocations: 51.36 MB / 407.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.000984/0.08386, allocations: 477.2 kB / 408.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.08472, allocations: 0.7112 MB / 409.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.08475, allocations: 0 / 409.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.08493, allocations: 27.86 kB / 409.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.08502, allocations: 23.91 kB / 409.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.056e-05/0.08504, allocations: 4 kB / 409.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.08508, allocations: 15.88 kB / 409.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.08512, allocations: 8 kB / 409.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.08515, allocations: 7.984 kB / 409.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.08526, allocations: 11.92 kB / 409.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.08527, allocations: 0 / 409.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.493e-05/0.08532, allocations: 16 kB / 409.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.08534, allocations: 0 / 409.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.08538, allocations: 41.56 kB / 409.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.08547, allocations: 31.91 kB / 409.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.08548, allocations: 3.984 kB / 409.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08549, allocations: 0 / 409.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.0855, allocations: 0 / 409.3 MB, free: 14.47 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002934/0.0858, allocations: 331.7 kB / 409.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.08584, allocations: 12.03 kB / 409.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.08588, allocations: 34.75 kB / 409.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.0859, allocations: 0.9375 kB / 409.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.08603, allocations: 172.3 kB / 409.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-06/0.08605, allocations: 384 / 409.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.08606, allocations: 384 / 409.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/0.08614, allocations: 51.92 kB / 409.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.08615, allocations: 3.938 kB / 409.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.08617, allocations: 4 kB / 409.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.08618, allocations: 0 / 409.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.0862, allocations: 0 / 409.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.08651, allocations: 479.6 kB / 410.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.08659, allocations: 173.1 kB / 410.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.08663, allocations: 84.08 kB / 410.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.08666, allocations: 75.28 kB / 410.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.08671, allocations: 113.9 kB / 410.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.08671, allocations: 0 / 410.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.492e-05/0.08678, allocations: 37.62 kB / 410.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.08684, allocations: 130.7 kB / 411 MB, free: 12.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.08696, allocations: 113.8 kB / 411.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.08697, allocations: 25.7 kB / 411.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.08701, allocations: 84.14 kB / 411.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.08702, allocations: 0 / 411.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.08704, allocations: 9.719 kB / 411.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.08715, allocations: 314.8 kB / 411.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-06/0.08716, allocations: 0 / 411.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-06/0.08717, allocations: 7.938 kB / 411.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.08721, allocations: 83.2 kB / 411.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.08723, allocations: 75.28 kB / 411.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.618e-05/0.08729, allocations: 37.55 kB / 411.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.08733, allocations: 79.28 kB / 411.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.08736, allocations: 79.28 kB / 411.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.522e-05/0.08742, allocations: 150.6 kB / 412 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.08745, allocations: 87.22 kB / 412.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.045e-05/0.0875, allocations: 150.6 kB / 412.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.08758, allocations: 87.16 kB / 412.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.08761, allocations: 79.27 kB / 412.4 MB, free: 11.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.08771, allocations: 260.3 kB / 412.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.08778, allocations: 109 kB / 412.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.08782, allocations: 112.5 kB / 412.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.08789, allocations: 188.2 kB / 413.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-05/0.08795, allocations: 180.2 kB / 413.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.08801, allocations: 176.3 kB / 413.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.08822, allocations: 409.2 kB / 413.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/0.08827, allocations: 116.9 kB / 413.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.0883, allocations: 105 kB / 414 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.341e-05/0.08836, allocations: 188.2 kB / 414.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.08841, allocations: 176.3 kB / 414.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.165e-05/0.08847, allocations: 176.6 kB / 414.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.775e-05/0.08852, allocations: 192.1 kB / 414.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.08865, allocations: 319.6 kB / 415 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.08871, allocations: 178.1 kB / 415.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.08879, allocations: 184.2 kB / 415.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.08886, allocations: 105 kB / 415.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.08893, allocations: 184.3 kB / 415.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.08896, allocations: 104.9 kB / 415.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.08902, allocations: 91.27 kB / 415.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08903, allocations: 4 kB / 415.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.08929, allocations: 0 / 415.9 MB, free: 7.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005443/0.08984, allocations: 0.8852 MB / 416.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.712e-05/0.08988, allocations: 3.938 kB / 416.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.08989, allocations: 0 / 416.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.0899, allocations: 0 / 416.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.09033, allocations: 0.531 MB / 417.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.09139, allocations: 1.615 MB / 418.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.0916, allocations: 0.677 MB / 419.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.985e-05/0.09163, allocations: 3.938 kB / 419.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.09166, allocations: 15.42 kB / 419.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09167, allocations: 0 / 419.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/0.2589, allocations: 1.218 MB / 420.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/0.2592, allocations: 212.2 kB / 421 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.006, allocations: 0 / 421 MB, free: 2.199 MB / 350.1 MB (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_TIRTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_TIRTest.fmu > ExternData_ExternData.Examples.TIRTest.pipe 2>&1)