Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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.0008497/0.0008497, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001066/0.001066, allocations: 173.9 kB / 22.46 MB, free: 2.086 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.9217/0.9217, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7107/0.7107, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.27e-05, allocations: 6.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4255/0.4255, allocations: 148.2 MB / 0.7627 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.4446, allocations: 15.89 MB / 0.7783 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.4467, allocations: 42.5 kB / 0.7783 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.449, allocations: 0.5546 MB / 0.7788 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.4555, allocations: 1.714 MB / 0.7805 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.4601, allocations: 1.356 MB / 0.7818 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005237/0.4653, allocations: 2.775 MB / 0.7845 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.4681, allocations: 1.525 MB / 0.786 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.4725, allocations: 1.893 MB / 0.7879 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4739, allocations: 0.7886 MB / 0.7887 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003278/0.4743, allocations: 208.2 kB / 0.7889 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.4772, allocations: 1.307 MB / 0.7901 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.4778, allocations: 0.5847 MB / 0.7907 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.4794, allocations: 0.719 MB / 0.7914 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.4855, allocations: 3.312 MB / 0.7946 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4855, allocations: 0 / 0.7946 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4855, allocations: 4 kB / 0.7946 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.428e-05/0.4856, allocations: 0 / 0.7946 GB, free: 5.469 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003787/0.4894, allocations: 2.277 MB / 0.7969 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4894, allocations: 11.94 kB / 0.7969 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/0.4897, allocations: 249.8 kB / 0.7971 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.4921, allocations: 0.578 MB / 0.7977 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.494, allocations: 1.063 MB / 0.7987 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.4941, allocations: 128.7 kB / 0.7988 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.4943, allocations: 163.9 kB / 0.799 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.4977, allocations: 2.605 MB / 0.8015 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.4977, allocations: 2.531 kB / 0.8015 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.4979, allocations: 70.91 kB / 0.8016 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.4979, allocations: 39.62 kB / 0.8016 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5002, allocations: 1.83 MB / 0.8034 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005952/0.5062, allocations: 3.962 MB / 0.8073 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.5082, allocations: 1.37 MB / 0.8086 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.509, allocations: 0.5914 MB / 0.8092 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.5096, allocations: 176.1 kB / 0.8094 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.5112, allocations: 1.502 MB / 0.8109 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.497e-06/0.5112, allocations: 2.938 kB / 0.8109 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.004001/0.5152, allocations: 2.19 MB / 0.813 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.5153, allocations: 194.5 kB / 0.8132 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.5162, allocations: 0.8633 MB / 0.814 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.5164, allocations: 60.58 kB / 0.8141 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.5169, allocations: 0.6687 MB / 0.8147 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.5172, allocations: 498.7 kB / 0.8152 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.5175, allocations: 244 kB / 0.8154 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5177, allocations: 356.4 kB / 0.8158 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.5183, allocations: 475.5 kB / 0.8162 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.5192, allocations: 0.868 MB / 0.8171 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.5206, allocations: 1.094 MB / 0.8182 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5206, allocations: 4.969 kB / 0.8182 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002546/0.5231, allocations: 1.493 MB / 0.8196 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5232, allocations: 8 kB / 0.8196 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5232, allocations: 0 / 0.8196 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.5237, allocations: 200.1 kB / 0.8198 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.5248, allocations: 331.5 kB / 0.8201 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.529, allocations: 6.738 MB / 0.8267 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.5305, allocations: 147.2 kB / 0.8269 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.5306, allocations: 55.95 kB / 0.8269 GB, free: 12.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009094/0.5315, allocations: 386.3 kB / 0.8273 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.5318, allocations: 139.1 kB / 0.8274 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.5344, allocations: 1.855 MB / 0.8292 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5345, allocations: 12 kB / 0.8292 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5345, allocations: 8 kB / 0.8292 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5345, allocations: 7.969 kB / 0.8292 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.5388, allocations: 3.183 MB / 0.8324 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5388, allocations: 0 / 0.8324 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/0.5396, allocations: 311.6 kB / 0.8327 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.54, allocations: 180.1 kB / 0.8328 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.5401, allocations: 43.91 kB / 0.8329 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.5442, allocations: 6.776 MB / 0.8395 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5442, allocations: 0 / 0.8395 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.5472, allocations: 1.721 MB / 0.8412 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/0.5479, allocations: 338.4 kB / 0.8415 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5481, allocations: 36 kB / 0.8415 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.5487, allocations: 107.9 kB / 0.8416 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.5489, allocations: 117.1 kB / 0.8417 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.549, allocations: 79.88 kB / 0.8418 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006096/0.5496, allocations: 0.5947 MB / 0.8424 GB, free: 12 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5496, allocations: 0 / 0.8424 GB, free: 12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001355/0.5509, allocations: 0.6117 MB / 0.843 GB, free: 11.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003817/0.5548, allocations: 2.931 MB / 0.8459 GB, free: 8.656 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.5571, allocations: 1.778 MB / 0.8476 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5571, allocations: 8.656 kB / 0.8476 GB, free: 6.809 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.5586, allocations: 1.25 MB / 0.8488 GB, free: 5.492 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.5603, allocations: 0.5313 MB / 0.8493 GB, free: 4.996 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.575, allocations: 10.09 MB / 0.8592 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.5756, allocations: 0.7228 MB / 0.8599 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001342/0.5769, allocations: 426.6 kB / 0.8603 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007584/0.5777, allocations: 0.6643 MB / 0.8609 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/0.5777, allocations: 0 / 0.8609 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.652, allocations: 40.94 MB / 0.9009 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.755/10.41, allocations: 11.92 kB / 0.9009 GB, free: 0.5586 MB / 0.7448 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.364084634929895] Failed to read output from testmodel.py, exit status != 0: 10.57089429255575 10.579976287000001 10.092377886 Calling exit ...