Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.0008597/0.0008597, 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.001012/0.001012, 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.8851/0.8851, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7008/0.7008, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.274e-05, allocations: 5.094 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3865/0.3866, allocations: 148.3 MB / 0.7629 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4035, allocations: 16.17 MB / 0.7787 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.4053, allocations: 43.44 kB / 0.7787 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.4071, allocations: 0.5676 MB / 0.7793 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.4124, allocations: 1.899 MB / 0.7811 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.4161, allocations: 1.485 MB / 0.7826 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.4205, allocations: 2.968 MB / 0.7855 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.4232, allocations: 1.58 MB / 0.787 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005478/0.4287, allocations: 1.996 MB / 0.789 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.4309, allocations: 0.9223 MB / 0.7899 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009172/0.4318, allocations: 223.7 kB / 0.7901 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.4355, allocations: 1.477 MB / 0.7915 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.4365, allocations: 0.8592 MB / 0.7924 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.4383, allocations: 0.868 MB / 0.7932 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005721/0.4441, allocations: 3.955 MB / 0.7971 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4441, allocations: 0 / 0.7971 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4441, allocations: 0 / 0.7971 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001432/0.4442, allocations: 3.938 kB / 0.7971 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.006048/0.4503, allocations: 2.967 MB / 0.8 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4503, allocations: 11.62 kB / 0.8 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.4506, allocations: 252 kB / 0.8002 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.4531, allocations: 0.6393 MB / 0.8008 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.457, allocations: 3.383 MB / 0.8042 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.4571, allocations: 139 kB / 0.8043 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.4574, allocations: 174.8 kB / 0.8045 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.4606, allocations: 2.703 MB / 0.8071 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.4606, allocations: 0 / 0.8071 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.4608, allocations: 74.59 kB / 0.8072 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.4608, allocations: 43.94 kB / 0.8072 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.4635, allocations: 2.072 MB / 0.8092 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007386/0.4709, allocations: 5.115 MB / 0.8142 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.473, allocations: 1.73 MB / 0.8159 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.4739, allocations: 0.7155 MB / 0.8166 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.4742, allocations: 117.2 kB / 0.8167 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.4756, allocations: 1.631 MB / 0.8183 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.748e-06/0.4756, allocations: 0 / 0.8183 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.00469/0.4803, allocations: 2.644 MB / 0.8209 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.4804, allocations: 197.2 kB / 0.8211 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/0.4842, allocations: 4.127 MB / 0.8251 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.4845, allocations: 57.7 kB / 0.8252 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.4851, allocations: 0.9156 MB / 0.8261 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.4855, allocations: 0.4918 MB / 0.8265 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.4858, allocations: 238.8 kB / 0.8268 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4859, allocations: 357.9 kB / 0.8271 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.4867, allocations: 0.5843 MB / 0.8277 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.4877, allocations: 1.247 MB / 0.8289 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4893, allocations: 1.329 MB / 0.8302 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4893, allocations: 3.984 kB / 0.8302 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002707/0.492, allocations: 1.808 MB / 0.832 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.492, allocations: 4 kB / 0.832 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.492, allocations: 0 / 0.832 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.4926, allocations: 212.1 kB / 0.8322 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4934, allocations: 335.5 kB / 0.8325 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.4973, allocations: 6.787 MB / 0.8391 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4987, allocations: 171.4 kB / 0.8393 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.4989, allocations: 51.97 kB / 0.8393 GB, free: 15.8 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.00103/0.4999, allocations: 498 kB / 0.8398 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/0.5005, allocations: 206.7 kB / 0.84 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.5036, allocations: 2.162 MB / 0.8421 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5037, allocations: 16 kB / 0.8421 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5037, allocations: 0 / 0.8421 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5037, allocations: 7.969 kB / 0.8421 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.5092, allocations: 3.844 MB / 0.8459 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5092, allocations: 3.984 kB / 0.8459 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.51, allocations: 315.6 kB / 0.8462 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.5105, allocations: 208.1 kB / 0.8464 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.5105, allocations: 43.91 kB / 0.8464 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.5147, allocations: 6.812 MB / 0.8531 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5147, allocations: 0 / 0.8531 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.5182, allocations: 2.034 MB / 0.8551 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.5193, allocations: 470 kB / 0.8555 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.5196, allocations: 28 kB / 0.8556 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/0.5205, allocations: 115.9 kB / 0.8557 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.5207, allocations: 121 kB / 0.8558 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.5208, allocations: 71.94 kB / 0.8559 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002589/0.5234, allocations: 3.169 MB / 0.8589 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.5234, allocations: 4 kB / 0.8589 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002006/0.5254, allocations: 0.6976 MB / 0.8596 GB, free: 10.29 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.004663/0.5301, allocations: 3.291 MB / 0.8628 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00278/0.5328, allocations: 2.016 MB / 0.8648 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5328, allocations: 0.8906 kB / 0.8648 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.5343, allocations: 1.383 MB / 0.8662 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.5363, allocations: 0.5601 MB / 0.8667 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/0.564, allocations: 21.33 MB / 0.8875 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.5651, allocations: 0.9761 MB / 0.8885 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001469/0.5665, allocations: 0.5252 MB / 0.889 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.5676, allocations: 0.922 MB / 0.8899 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of SimCode: time 1.443e-06/0.5676, allocations: 0 / 0.8899 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/0.649, allocations: 53.22 MB / 0.9419 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.39, allocations: 10.91 kB / 0.9419 GB, free: 6.59 MB / 0.7917 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.270876434631646] Failed to read output from testmodel.py, exit status != 0: 11.562784807756543 11.570741187 11.124761127 Calling exit ...