Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.0009008/0.0009008, 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.00109/0.00109, allocations: 165.9 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.9238/0.9238, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7127/0.7127, allocations: 154.6 MB / 413.7 MB, free: 0.832 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_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.126e-05, allocations: 5.234 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4099/0.41, allocations: 148.3 MB / 0.7628 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4271, allocations: 16.15 MB / 0.7786 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4288, allocations: 43.5 kB / 0.7787 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.4306, allocations: 0.5752 MB / 0.7792 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005053/0.4356, allocations: 1.87 MB / 0.781 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.439, allocations: 1.491 MB / 0.7825 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003688/0.4427, allocations: 2.937 MB / 0.7854 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.445, allocations: 1.578 MB / 0.7869 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.4493, allocations: 1.987 MB / 0.7889 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.4514, allocations: 0.9186 MB / 0.7898 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.452, allocations: 223.4 kB / 0.79 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.4553, allocations: 1.466 MB / 0.7914 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.4561, allocations: 0.8418 MB / 0.7922 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.4574, allocations: 0.8717 MB / 0.7931 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.4627, allocations: 3.928 MB / 0.7969 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4627, allocations: 0 / 0.7969 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4627, allocations: 0 / 0.7969 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.851e-05/0.4628, allocations: 0 / 0.7969 GB, free: 4.598 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.0052/0.468, allocations: 2.943 MB / 0.7998 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4681, allocations: 11.94 kB / 0.7998 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.4683, allocations: 251.8 kB / 0.8 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.4708, allocations: 0.6361 MB / 0.8007 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.4744, allocations: 3.374 MB / 0.8039 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.4745, allocations: 131.2 kB / 0.8041 GB, free: 100 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.4747, allocations: 168.4 kB / 0.8042 GB, free: 44 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.4774, allocations: 2.698 MB / 0.8069 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.4775, allocations: 0 / 0.8069 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4776, allocations: 74.02 kB / 0.8069 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4776, allocations: 43.5 kB / 0.807 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.4801, allocations: 2.054 MB / 0.809 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007695/0.4878, allocations: 4.955 MB / 0.8138 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.4902, allocations: 1.696 MB / 0.8155 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.491, allocations: 0.6952 MB / 0.8162 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.4913, allocations: 125.2 kB / 0.8163 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.4928, allocations: 1.618 MB / 0.8179 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 4.318e-06/0.4928, allocations: 0 / 0.8179 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.004943/0.4978, allocations: 2.601 MB / 0.8204 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.4979, allocations: 201.2 kB / 0.8206 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/0.5019, allocations: 4.085 MB / 0.8246 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.5023, allocations: 57.7 kB / 0.8246 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.5029, allocations: 0.9076 MB / 0.8255 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.5034, allocations: 0.4957 MB / 0.826 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.5036, allocations: 234.8 kB / 0.8262 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003961/0.504, allocations: 353.9 kB / 0.8266 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007949/0.5048, allocations: 0.5687 MB / 0.8271 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.5059, allocations: 1.227 MB / 0.8283 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.5075, allocations: 1.306 MB / 0.8296 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5075, allocations: 0 / 0.8296 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00291/0.5105, allocations: 1.777 MB / 0.8313 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.5105, allocations: 8.094 kB / 0.8313 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5105, allocations: 0 / 0.8313 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.5111, allocations: 220 kB / 0.8315 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/0.5119, allocations: 327.5 kB / 0.8319 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.5162, allocations: 6.772 MB / 0.8385 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.5175, allocations: 167.2 kB / 0.8386 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.5176, allocations: 51.97 kB / 0.8387 GB, free: 0.6133 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 (144): * Single equations (assignments): 139 * 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.0009127/0.5186, allocations: 494.3 kB / 0.8392 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.519, allocations: 202.9 kB / 0.8393 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.5221, allocations: 2.145 MB / 0.8414 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5221, allocations: 16 kB / 0.8415 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5221, allocations: 0 / 0.8415 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5221, allocations: 11.97 kB / 0.8415 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/0.5277, allocations: 3.803 MB / 0.8452 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5277, allocations: 4 kB / 0.8452 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.5285, allocations: 319.6 kB / 0.8455 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.529, allocations: 200.1 kB / 0.8457 GB, free: 9.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.529, allocations: 47.89 kB / 0.8457 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/0.5331, allocations: 6.8 MB / 0.8524 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5331, allocations: 7.984 kB / 0.8524 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.5366, allocations: 2.014 MB / 0.8543 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.5378, allocations: 465.9 kB / 0.8548 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.538, allocations: 32 kB / 0.8548 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.5388, allocations: 111.2 kB / 0.8549 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.539, allocations: 117.1 kB / 0.855 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.5392, allocations: 71.94 kB / 0.8551 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002485/0.5416, allocations: 3.14 MB / 0.8582 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5416, allocations: 0 / 0.8582 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001904/0.5435, allocations: 0.6937 MB / 0.8588 GB, free: 11.23 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.004773/0.5483, allocations: 3.269 MB / 0.862 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.551, allocations: 2 MB / 0.864 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.551, allocations: 4.656 kB / 0.864 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.5524, allocations: 1.36 MB / 0.8653 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.5543, allocations: 0.5567 MB / 0.8659 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.5802, allocations: 20.98 MB / 0.8864 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.581, allocations: 0.9566 MB / 0.8873 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001672/0.5827, allocations: 0.5252 MB / 0.8878 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.5839, allocations: 0.9181 MB / 0.8887 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of SimCode: time 1.542e-06/0.5839, allocations: 0 / 0.8887 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07378/0.6577, allocations: 52.57 MB / 0.94 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.794/10.45, allocations: 5.375 kB / 0.94 GB, free: 8.613 MB / 0.7917 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_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_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.424008565954864] Failed to read output from testmodel.py, exit status != 0: 10.620355134829879 10.62958527 10.164829743 Calling exit ...