Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9034/0.9034, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7304/0.7304, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.142e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002351/0.002373, allocations: 1.646 MB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004123, allocations: 1.672 MB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.004199, allocations: 4 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.004683, allocations: 55.62 kB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.00493, allocations: 103.5 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.005077, allocations: 67.69 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.005297, allocations: 187.5 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.005345, allocations: 4 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.005463, allocations: 95.73 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005577, allocations: 59.86 kB / 0.6219 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.005603, allocations: 12 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.005762, allocations: 107.8 kB / 0.622 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.005846, allocations: 51.83 kB / 0.622 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.005902, allocations: 43.84 kB / 0.6221 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.0062, allocations: 259.2 kB / 0.6223 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.006204, allocations: 0 / 0.6223 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.006206, allocations: 3.938 kB / 0.6223 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.006211, allocations: 0 / 0.6223 GB, free: 9.324 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005011/0.006712, allocations: 427.4 kB / 0.6227 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006753, allocations: 13.47 kB / 0.6227 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.006785, allocations: 30.75 kB / 0.6228 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.006847, allocations: 24.8 kB / 0.6228 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.007141, allocations: 191.4 kB / 0.623 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.007154, allocations: 4.375 kB / 0.623 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.007169, allocations: 8.359 kB / 0.623 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.007372, allocations: 160.2 kB / 0.6231 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.007378, allocations: 4 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.00739, allocations: 3.984 kB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.007395, allocations: 4 kB / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.007599, allocations: 191.7 kB / 0.6233 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.007801, allocations: 208.6 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.008113, allocations: 198.4 kB / 0.6237 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.008187, allocations: 56.83 kB / 0.6238 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.008205, allocations: 0 / 0.6238 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.008385, allocations: 134.6 kB / 0.6239 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.008387, allocations: 0 / 0.6239 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003998/0.008787, allocations: 253.5 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.008836, allocations: 85.05 kB / 0.6242 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.009036, allocations: 255 kB / 0.6245 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.009055, allocations: 29.7 kB / 0.6245 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.009117, allocations: 120.1 kB / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.009163, allocations: 47.64 kB / 0.6247 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.00921, allocations: 33.7 kB / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.009299, allocations: 330.8 kB / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.009375, allocations: 59.89 kB / 0.6251 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.009466, allocations: 108.2 kB / 0.6252 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.009625, allocations: 149.8 kB / 0.6253 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009627, allocations: 3.938 kB / 0.6253 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002349/0.009862, allocations: 217 kB / 0.6255 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.009876, allocations: 4 kB / 0.6255 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009881, allocations: 0 / 0.6255 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.009896, allocations: 4 kB / 0.6255 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.009986, allocations: 35.91 kB / 0.6256 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.00999, allocations: 0 / 0.6256 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.01003, allocations: 7.984 kB / 0.6256 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01004, allocations: 8 kB / 0.6256 GB, free: 5.758 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0002606/0.0103, allocations: 137.8 kB / 0.6257 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.01032, allocations: 19.84 kB / 0.6257 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.01065, allocations: 294.8 kB / 0.626 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01066, allocations: 0 / 0.626 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01066, allocations: 7.984 kB / 0.626 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01067, allocations: 0 / 0.626 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.01083, allocations: 220.6 kB / 0.6262 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01083, allocations: 0 / 0.6262 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.0109, allocations: 35.98 kB / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.0109, allocations: 3.938 kB / 0.6263 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01091, allocations: 8 kB / 0.6263 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01091, allocations: 0 / 0.6263 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01092, allocations: 0 / 0.6263 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.01119, allocations: 280 kB / 0.6265 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.01122, allocations: 35.77 kB / 0.6266 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01124, allocations: 7.938 kB / 0.6266 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.01127, allocations: 4 kB / 0.6266 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.01131, allocations: 19.97 kB / 0.6266 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01133, allocations: 8 kB / 0.6266 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01146, allocations: 204.1 kB / 0.6268 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01146, allocations: 0 / 0.6268 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000221/0.01168, allocations: 63.86 kB / 0.6269 GB, free: 4.359 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001302/0.01298, allocations: 1.252 MB / 0.6281 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01321, allocations: 151.9 kB / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01321, allocations: 0 / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.01331, allocations: 86.52 kB / 0.6283 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.01351, allocations: 46.22 kB / 0.6284 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.01529, allocations: 2.114 MB / 0.6304 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.473e-05/0.01538, allocations: 124 kB / 0.6305 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.548e-05/0.01546, allocations: 49.44 kB / 0.6306 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01557, allocations: 68.47 kB / 0.6307 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.01557, allocations: 4 kB / 0.6307 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.03968, allocations: 6.505 MB / 0.637 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.585, allocations: 9.094 kB / 0.637 GB, free: 10.21 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.358989245258272] Failed to read output from testmodel.py, exit status != 0: 7.687006372027099 7.696324603 7.688142501 Calling exit ...