Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.0007702/0.0007702, 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.000798/0.000798, 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.8824/0.8824, 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.7516/0.7516, 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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.546e-05, allocations: 8.938 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4294/0.4295, allocations: 148.3 MB / 0.7629 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.4476, allocations: 16.16 MB / 0.7787 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4494, allocations: 43.62 kB / 0.7787 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.4509, allocations: 0.5711 MB / 0.7793 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.4558, allocations: 1.893 MB / 0.7811 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.4592, allocations: 1.491 MB / 0.7826 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.4635, allocations: 2.959 MB / 0.7855 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.4662, allocations: 1.582 MB / 0.787 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.4704, allocations: 2.002 MB / 0.789 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4718, allocations: 0.9219 MB / 0.7899 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.4721, allocations: 228.1 kB / 0.7901 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.475, allocations: 1.473 MB / 0.7915 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005612/0.4755, allocations: 0.8457 MB / 0.7923 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008756/0.4764, allocations: 0.8707 MB / 0.7932 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.4811, allocations: 3.943 MB / 0.797 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4811, allocations: 0 / 0.797 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4811, allocations: 0 / 0.797 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001073/0.4812, allocations: 0 / 0.797 GB, free: 4.375 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004322/0.4855, allocations: 2.959 MB / 0.7999 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4856, allocations: 16.02 kB / 0.7999 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.4858, allocations: 250.3 kB / 0.8002 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.4885, allocations: 0.633 MB / 0.8008 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.4917, allocations: 3.38 MB / 0.8041 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.4918, allocations: 124.5 kB / 0.8042 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.4919, allocations: 173.3 kB / 0.8044 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.4949, allocations: 2.706 MB / 0.807 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.4949, allocations: 6.25 kB / 0.807 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.495, allocations: 72.31 kB / 0.8071 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.495, allocations: 42.44 kB / 0.8071 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.4974, allocations: 2.07 MB / 0.8092 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007341/0.5048, allocations: 5.139 MB / 0.8142 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.507, allocations: 1.735 MB / 0.8159 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/0.5078, allocations: 0.7124 MB / 0.8166 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/0.5083, allocations: 117.2 kB / 0.8167 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/0.5101, allocations: 1.621 MB / 0.8183 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.547e-06/0.5101, allocations: 0 / 0.8183 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.004317/0.5144, allocations: 2.64 MB / 0.8208 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.5145, allocations: 205.2 kB / 0.821 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.5186, allocations: 4.094 MB / 0.825 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003668/0.519, allocations: 61.7 kB / 0.8251 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.5196, allocations: 0.9232 MB / 0.826 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.5201, allocations: 499.6 kB / 0.8265 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.5204, allocations: 238.8 kB / 0.8267 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5205, allocations: 357.9 kB / 0.827 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008023/0.5213, allocations: 0.5843 MB / 0.8276 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5223, allocations: 1.239 MB / 0.8288 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.5239, allocations: 1.333 MB / 0.8301 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5239, allocations: 0 / 0.8301 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003134/0.527, allocations: 1.808 MB / 0.8319 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.527, allocations: 4 kB / 0.8319 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5271, allocations: 8 kB / 0.8319 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.5276, allocations: 216 kB / 0.8321 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.5285, allocations: 323.6 kB / 0.8324 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.5332, allocations: 6.791 MB / 0.8391 GB, free: 68 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5348, allocations: 167.1 kB / 0.8392 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.535, allocations: 60.02 kB / 0.8393 GB, free: 15.84 MB / 0.698 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 (145): * Single equations (assignments): 140 * 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.001127/0.5361, allocations: 494.3 kB / 0.8397 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/0.5367, allocations: 198.7 kB / 0.8399 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.5398, allocations: 2.165 MB / 0.842 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5398, allocations: 16 kB / 0.8421 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5398, allocations: 0 / 0.8421 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5398, allocations: 11.91 kB / 0.8421 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.5459, allocations: 3.836 MB / 0.8458 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5459, allocations: 0 / 0.8458 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.5467, allocations: 319.5 kB / 0.8461 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.5472, allocations: 204.1 kB / 0.8463 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.5472, allocations: 47.91 kB / 0.8464 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/0.5513, allocations: 6.808 MB / 0.853 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5513, allocations: 0 / 0.853 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.5543, allocations: 2.033 MB / 0.855 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/0.5553, allocations: 470 kB / 0.8554 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.5555, allocations: 28 kB / 0.8555 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.5562, allocations: 111.9 kB / 0.8556 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.5564, allocations: 121.1 kB / 0.8557 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5566, allocations: 71.94 kB / 0.8558 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0026/0.5592, allocations: 3.148 MB / 0.8588 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5592, allocations: 0 / 0.8588 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002345/0.5615, allocations: 0.7054 MB / 0.8595 GB, free: 10.36 MB / 0.7136 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.004407/0.5659, allocations: 3.286 MB / 0.8627 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.5684, allocations: 2.016 MB / 0.8647 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.5684, allocations: 4.891 kB / 0.8647 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5697, allocations: 1.372 MB / 0.866 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.5715, allocations: 0.5633 MB / 0.8666 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.5955, allocations: 21.25 MB / 0.8874 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.5965, allocations: 0.9657 MB / 0.8883 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0014/0.5979, allocations: 0.5308 MB / 0.8888 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/0.5988, allocations: 0.9103 MB / 0.8897 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of SimCode: time 1.853e-06/0.5988, allocations: 0 / 0.8897 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08266/0.6815, allocations: 53 MB / 0.9415 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.09, allocations: 7.859 kB / 0.9415 GB, free: 6.996 MB / 0.7917 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.095475451089442] Failed to read output from testmodel.py, exit status != 0: 11.259117283858359 11.270504831 10.787197607 Calling exit ...