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.0008322/0.0008322, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008391/0.0008391, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9427/0.9427, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.7772/0.7772, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 62.16 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5133, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1362/0.6494, allocations: 148.4 MB / 0.9627 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.6638, allocations: 16.21 MB / 0.9785 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009506/0.6647, allocations: 43.62 kB / 0.9786 GB, free: 468 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.6659, allocations: 0.5622 MB / 0.9791 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.6689, allocations: 1.859 MB / 0.9809 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.6712, allocations: 1.474 MB / 0.9824 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.6731, allocations: 2.91 MB / 0.9852 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.6744, allocations: 1.571 MB / 0.9868 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.6764, allocations: 1.523 MB / 0.9882 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.6772, allocations: 1.05 MB / 0.9893 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.6774, allocations: 224 kB / 0.9895 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.6792, allocations: 1.462 MB / 0.9909 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.6796, allocations: 0.8178 MB / 0.9917 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008071/0.6804, allocations: 1.057 MB / 0.9927 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.6833, allocations: 3.817 MB / 0.9965 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6833, allocations: 4 kB / 0.9965 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6833, allocations: 0 / 0.9965 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.135e-05/0.6833, allocations: 0 / 0.9965 GB, free: 14.09 MB / 0.7761 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.00301/0.6863, allocations: 2.976 MB / 0.9994 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6864, allocations: 8.031 kB / 0.9994 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.6866, allocations: 256.8 kB / 0.9996 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.6888, allocations: 0.6344 MB / 1 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.6917, allocations: 3.39 MB / 1.004 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.6917, allocations: 127.4 kB / 1.004 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6919, allocations: 172 kB / 1.004 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.6944, allocations: 2.705 MB / 1.006 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6944, allocations: 7.938 kB / 1.006 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.6945, allocations: 76 kB / 1.007 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.6946, allocations: 40 kB / 1.007 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.6968, allocations: 2.066 MB / 1.009 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.7023, allocations: 5.12 MB / 1.014 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.7042, allocations: 1.737 MB / 1.015 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007653/0.705, allocations: 0.7144 MB / 1.016 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.7052, allocations: 121.2 kB / 1.016 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.7065, allocations: 1.623 MB / 1.018 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 2.845e-06/0.7065, allocations: 3.938 kB / 1.018 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.003919/0.7104, allocations: 2.636 MB / 1.02 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.7106, allocations: 197.2 kB / 1.02 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.7135, allocations: 4.123 MB / 1.025 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.7136, allocations: 61.7 kB / 1.025 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.7141, allocations: 0.9157 MB / 1.025 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.7144, allocations: 0.4957 MB / 1.026 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.7146, allocations: 234.9 kB / 1.026 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.7147, allocations: 357.7 kB / 1.027 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.7154, allocations: 0.5882 MB / 1.027 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.7167, allocations: 1.235 MB / 1.028 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.7182, allocations: 1.329 MB / 1.03 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7182, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002264/0.7205, allocations: 1.815 MB / 1.031 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7205, allocations: 8 kB / 1.031 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.7205, allocations: 0 / 1.031 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.7211, allocations: 208.1 kB / 1.032 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.7219, allocations: 331.6 kB / 1.032 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.7258, allocations: 6.795 MB / 1.039 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.7266, allocations: 177.7 kB / 1.039 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.7267, allocations: 47.97 kB / 1.039 GB, free: 1.312 MB / 0.8073 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.0006139/0.7273, allocations: 0.4897 MB / 1.039 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.7275, allocations: 206.7 kB / 1.039 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.7302, allocations: 2.154 MB / 1.042 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.7303, allocations: 16 kB / 1.042 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7303, allocations: 8 kB / 1.042 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7303, allocations: 7.969 kB / 1.042 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.7344, allocations: 3.852 MB / 1.045 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7344, allocations: 0 / 1.045 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.7352, allocations: 319.5 kB / 1.046 GB, free: 10.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.7356, allocations: 204.1 kB / 1.046 GB, free: 9.949 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.737e-05/0.7357, allocations: 39.97 kB / 1.046 GB, free: 9.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.7394, allocations: 6.816 MB / 1.053 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7394, allocations: 0 / 1.053 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.7419, allocations: 2.041 MB / 1.054 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.7425, allocations: 462 kB / 1.055 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.7427, allocations: 35.98 kB / 1.055 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.7435, allocations: 108.6 kB / 1.055 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.7437, allocations: 117.1 kB / 1.055 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/0.7438, allocations: 71.94 kB / 1.055 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0022/0.746, allocations: 3.165 MB / 1.058 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/0.746, allocations: 0 / 1.058 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001409/0.7474, allocations: 0.7015 MB / 1.059 GB, free: 11.8 MB / 0.8386 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.003753/0.7511, allocations: 3.266 MB / 1.062 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.7534, allocations: 2.012 MB / 1.064 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.7534, allocations: 4.953 kB / 1.064 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7546, allocations: 1.375 MB / 1.066 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7559, allocations: 0.5592 MB / 1.066 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.7751, allocations: 21.25 MB / 1.087 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.7758, allocations: 0.9697 MB / 1.088 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001087/0.7769, allocations: 0.533 MB / 1.088 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.7777, allocations: 0.9053 MB / 1.089 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/0.7777, allocations: 4 kB / 1.089 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06393/0.8416, allocations: 53.41 MB / 1.141 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/9.928, allocations: 0 / 1.141 GB, free: 7.797 MB / 0.9167 GB " [Timeout remaining time 650] (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: 13.342086891178042] Failed to read output from testmodel.py, exit status != 0: 10.093632692005485 10.431950673 9.746732502 Calling exit ...