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.0008563/0.0008563, 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.0009434/0.0009434, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9341/0.9341, 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.7319/0.7319, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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 2.274e-06/2.274e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.27e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003345/0.003367, allocations: 1.651 MB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.005861, allocations: 1.679 MB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.005963, allocations: 0 / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.006518, allocations: 71.61 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.006848, allocations: 99.47 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.007079, allocations: 71.62 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.007387, allocations: 175.6 kB / 0.6218 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.007438, allocations: 4 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.007598, allocations: 91.73 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.007738, allocations: 63.8 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.007768, allocations: 12 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.007982, allocations: 111.8 kB / 0.6221 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.008062, allocations: 47.83 kB / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.008128, allocations: 47.91 kB / 0.6221 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.008524, allocations: 263.1 kB / 0.6224 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.008526, allocations: 0 / 0.6224 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008527, allocations: 4 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.008531, allocations: 0 / 0.6224 GB, free: 9.242 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.0006645/0.009196, allocations: 417 kB / 0.6228 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.009245, allocations: 12.02 kB / 0.6228 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.009292, allocations: 38.75 kB / 0.6228 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.009354, allocations: 20.8 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.0097, allocations: 195.4 kB / 0.6231 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.009718, allocations: 8.375 kB / 0.6231 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.009741, allocations: 12.36 kB / 0.6231 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.01003, allocations: 160.3 kB / 0.6232 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01004, allocations: 0 / 0.6232 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01006, allocations: 4 kB / 0.6232 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.01006, allocations: 0 / 0.6232 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.01041, allocations: 187.8 kB / 0.6234 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.0107, allocations: 196.6 kB / 0.6236 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.01118, allocations: 210.4 kB / 0.6238 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.0113, allocations: 60.83 kB / 0.6239 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.01132, allocations: 0 / 0.6239 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.01155, allocations: 127.3 kB / 0.624 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.01155, allocations: 0 / 0.624 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005473/0.0121, allocations: 252.1 kB / 0.6242 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.01215, allocations: 89.05 kB / 0.6243 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.01242, allocations: 252.3 kB / 0.6245 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01245, allocations: 29.7 kB / 0.6246 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.01252, allocations: 116.1 kB / 0.6247 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.01257, allocations: 51.62 kB / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.01264, allocations: 33.7 kB / 0.6248 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01275, allocations: 326.8 kB / 0.6251 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.01288, allocations: 63.91 kB / 0.6251 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.01303, allocations: 108.2 kB / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.01329, allocations: 145.7 kB / 0.6254 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01329, allocations: 0 / 0.6254 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003939/0.01369, allocations: 213.4 kB / 0.6256 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01371, allocations: 4.062 kB / 0.6256 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01371, allocations: 4 kB / 0.6256 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01373, allocations: 0 / 0.6256 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01386, allocations: 35.91 kB / 0.6256 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01387, allocations: 0 / 0.6256 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.01394, allocations: 15.89 kB / 0.6256 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01396, allocations: 4 kB / 0.6256 GB, free: 5.691 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.0001381/0.01409, allocations: 132.1 kB / 0.6258 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.01414, allocations: 19.84 kB / 0.6258 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.01467, allocations: 298.8 kB / 0.6261 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01468, allocations: 4 kB / 0.6261 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01468, allocations: 4 kB / 0.6261 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01469, allocations: 3.984 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.01492, allocations: 216.6 kB / 0.6263 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01492, allocations: 0 / 0.6263 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01504, allocations: 35.98 kB / 0.6263 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01505, allocations: 3.938 kB / 0.6263 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01506, allocations: 4 kB / 0.6263 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01507, allocations: 0 / 0.6263 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01507, allocations: 0 / 0.6263 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.01552, allocations: 291.6 kB / 0.6266 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.01555, allocations: 23.83 kB / 0.6266 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.0156, allocations: 11.94 kB / 0.6266 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.01566, allocations: 8 kB / 0.6266 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.01571, allocations: 15.91 kB / 0.6267 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.01574, allocations: 12 kB / 0.6267 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002108/0.01595, allocations: 199.1 kB / 0.6269 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01595, allocations: 0 / 0.6269 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003543/0.0163, allocations: 59.86 kB / 0.6269 GB, free: 4.301 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.00185/0.01815, allocations: 1.257 MB / 0.6282 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.01851, allocations: 150.6 kB / 0.6283 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01851, allocations: 0 / 0.6283 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.01868, allocations: 87.89 kB / 0.6284 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.019, allocations: 39.41 kB / 0.6284 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.02164, allocations: 2.121 MB / 0.6305 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.02174, allocations: 120.1 kB / 0.6306 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.02187, allocations: 57.42 kB / 0.6307 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02201, allocations: 72.47 kB / 0.6307 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.02201, allocations: 0 / 0.6307 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.04555, allocations: 6.509 MB / 0.6371 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.574, allocations: 0 / 0.6371 GB, free: 10.15 MB / 0.6042 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 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: 10.451450607739389] Failed to read output from testmodel.py, exit status != 0: 7.675925021059811 7.684160605 7.673694118 Calling exit ...