Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008117/0.0008117, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008105/0.0008105, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.896/0.896, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.71/0.71, allocations: 154.6 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.352e-05, allocations: 5.406 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002248/0.002271, allocations: 1.649 MB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003882, allocations: 1.679 MB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.003952, allocations: 0 / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.004416, allocations: 59.62 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.004621, allocations: 99.47 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.004735, allocations: 75.61 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.004918, allocations: 187.5 kB / 0.6218 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.004958, allocations: 4 kB / 0.6218 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.005059, allocations: 91.73 kB / 0.6219 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005159, allocations: 59.81 kB / 0.6219 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.00518, allocations: 12 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.005316, allocations: 111.8 kB / 0.622 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.005381, allocations: 55.83 kB / 0.6221 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.005428, allocations: 35.91 kB / 0.6221 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.005693, allocations: 263.2 kB / 0.6224 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005696, allocations: 0 / 0.6224 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.005697, allocations: 4 kB / 0.6224 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.005702, allocations: 3.938 kB / 0.6224 GB, free: 9.262 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.0004946/0.006197, allocations: 421 kB / 0.6228 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.006242, allocations: 12.03 kB / 0.6228 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.006276, allocations: 34.73 kB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.006323, allocations: 20.8 kB / 0.6229 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.006644, allocations: 199.4 kB / 0.623 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006656, allocations: 4.375 kB / 0.6231 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.006668, allocations: 4.375 kB / 0.6231 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.006865, allocations: 165.3 kB / 0.6232 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.006872, allocations: 4 kB / 0.6232 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.006883, allocations: 0 / 0.6232 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.006888, allocations: 0 / 0.6232 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.007084, allocations: 187.8 kB / 0.6234 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.007276, allocations: 204.6 kB / 0.6236 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.007575, allocations: 194.5 kB / 0.6238 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.007643, allocations: 60.77 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.007659, allocations: 0 / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.007815, allocations: 127.3 kB / 0.624 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.007816, allocations: 0 / 0.624 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003497/0.008166, allocations: 253.5 kB / 0.6242 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.008214, allocations: 89.05 kB / 0.6243 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.008389, allocations: 248.3 kB / 0.6245 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.008405, allocations: 29.7 kB / 0.6245 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.008453, allocations: 116.1 kB / 0.6247 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.008494, allocations: 51.61 kB / 0.6247 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.008534, allocations: 37.64 kB / 0.6247 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.008609, allocations: 330.8 kB / 0.6251 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.008681, allocations: 63.91 kB / 0.6251 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.008767, allocations: 115 kB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.008916, allocations: 140.4 kB / 0.6254 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.00892, allocations: 0 / 0.6254 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002469/0.009167, allocations: 217.4 kB / 0.6256 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.009186, allocations: 4 kB / 0.6256 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.009191, allocations: 0 / 0.6256 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.009205, allocations: 4 kB / 0.6256 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.009295, allocations: 31.92 kB / 0.6256 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.0093, allocations: 4.062 kB / 0.6256 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.009346, allocations: 15.88 kB / 0.6256 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.009354, allocations: 4 kB / 0.6256 GB, free: 5.711 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 8.406e-05/0.009438, allocations: 139.7 kB / 0.6258 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.009461, allocations: 19.84 kB / 0.6258 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.009791, allocations: 290.8 kB / 0.6261 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.009795, allocations: 3.984 kB / 0.6261 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.009801, allocations: 4 kB / 0.6261 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009805, allocations: 3.984 kB / 0.6261 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.009967, allocations: 224.6 kB / 0.6263 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009968, allocations: 0 / 0.6263 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.01013, allocations: 31.98 kB / 0.6263 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01014, allocations: 3.938 kB / 0.6263 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01015, allocations: 8 kB / 0.6263 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01015, allocations: 0 / 0.6263 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01016, allocations: 0 / 0.6263 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.01043, allocations: 283.8 kB / 0.6266 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.01046, allocations: 23.84 kB / 0.6266 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.01049, allocations: 11.92 kB / 0.6266 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.01052, allocations: 8 kB / 0.6266 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.01057, allocations: 19.97 kB / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01059, allocations: 4 kB / 0.6267 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001185/0.0107, allocations: 199.1 kB / 0.6269 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 4 kB / 0.6269 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002018/0.01091, allocations: 59.86 kB / 0.6269 GB, free: 4.32 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.001238/0.01214, allocations: 1.252 MB / 0.6281 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.01239, allocations: 151.9 kB / 0.6283 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01239, allocations: 64 / 0.6283 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.0125, allocations: 86.89 kB / 0.6284 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.01274, allocations: 39.78 kB / 0.6284 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.01472, allocations: 2.118 MB / 0.6305 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.01482, allocations: 128 kB / 0.6306 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.01492, allocations: 53.44 kB / 0.6306 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01504, allocations: 72.45 kB / 0.6307 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of SimCode: time 5.92e-07/0.01504, allocations: 0 / 0.6307 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.03748, allocations: 6.504 MB / 0.6371 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.766, allocations: 6.969 kB / 0.6371 GB, free: 10.18 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.426831721328199] Failed to read output from testmodel.py, exit status != 0: 6.867792248725891 6.876722354 6.869210141 Calling exit ...