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.0007714/0.0007714, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008331/0.0008331, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9527/0.9527, allocations: 230.6 MB / 256 MB, free: 9.805 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.8265/0.8265, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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,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: 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.001041/0.001041, allocations: 66.17 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.5536, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1655/0.7192, allocations: 172.1 MB / 0.9859 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.7386, allocations: 17.73 MB / 1.003 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.7405, allocations: 47.62 kB / 1.003 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.7425, allocations: 0.605 MB / 1.004 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.7478, allocations: 1.848 MB / 1.006 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.7512, allocations: 1.499 MB / 1.007 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.7553, allocations: 2.89 MB / 1.01 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.7575, allocations: 1.602 MB / 1.012 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.7611, allocations: 1.524 MB / 1.013 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.7627, allocations: 1.148 MB / 1.014 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005496/0.7633, allocations: 220 kB / 1.014 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.7666, allocations: 1.669 MB / 1.016 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006521/0.7672, allocations: 0.8179 MB / 1.017 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.7688, allocations: 1.275 MB / 1.018 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.7742, allocations: 3.794 MB / 1.022 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7742, allocations: 0 / 1.022 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7742, allocations: 0 / 1.022 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.199e-05/0.7743, allocations: 0 / 1.022 GB, free: 4.539 MB / 0.7917 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.004251/0.7785, allocations: 2.95 MB / 1.025 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7786, allocations: 8.031 kB / 1.025 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.7788, allocations: 248.8 kB / 1.025 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.7811, allocations: 0.6345 MB / 1.025 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.7845, allocations: 3.374 MB / 1.029 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.7846, allocations: 123.4 kB / 1.029 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.7848, allocations: 172 kB / 1.029 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.7875, allocations: 1.933 MB / 1.031 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.7875, allocations: 7.922 kB / 1.031 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7876, allocations: 72 kB / 1.031 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.7877, allocations: 51.98 kB / 1.031 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.7901, allocations: 2.089 MB / 1.033 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/0.7983, allocations: 6.692 MB / 1.04 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.8005, allocations: 1.7 MB / 1.041 GB, free: 15.94 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.8014, allocations: 0.6988 MB / 1.042 GB, free: 15.24 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.8017, allocations: 125.1 kB / 1.042 GB, free: 15.12 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.8031, allocations: 1.009 MB / 1.043 GB, free: 14.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 6.202e-06/0.8031, allocations: 0 / 1.043 GB, free: 14.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.004655/0.8077, allocations: 2.598 MB / 1.046 GB, free: 11.47 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.8078, allocations: 205.2 kB / 1.046 GB, free: 11.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/0.8117, allocations: 4.077 MB / 1.05 GB, free: 7.148 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.812, allocations: 61.7 kB / 1.05 GB, free: 7.082 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000833/0.8129, allocations: 0.9037 MB / 1.051 GB, free: 6.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.8134, allocations: 0.4957 MB / 1.051 GB, free: 5.668 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.8136, allocations: 234.8 kB / 1.051 GB, free: 5.434 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8138, allocations: 361.9 kB / 1.052 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.8145, allocations: 0.5764 MB / 1.052 GB, free: 4.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.8154, allocations: 0.7892 MB / 1.053 GB, free: 3.641 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.8169, allocations: 1.31 MB / 1.054 GB, free: 2.324 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8169, allocations: 0 / 1.054 GB, free: 2.324 MB / 0.823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002794/0.8197, allocations: 1.777 MB / 1.056 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8198, allocations: 11.88 kB / 1.056 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8198, allocations: 0 / 1.056 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.8204, allocations: 224.1 kB / 1.056 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.8212, allocations: 319.6 kB / 1.057 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.8258, allocations: 6.817 MB / 1.063 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8271, allocations: 155.1 kB / 1.063 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.8272, allocations: 47.97 kB / 1.064 GB, free: 8.375 MB / 0.8386 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.001011/0.8282, allocations: 493.4 kB / 1.064 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/0.8288, allocations: 198.7 kB / 1.064 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.8315, allocations: 2.146 MB / 1.066 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.8315, allocations: 12 kB / 1.066 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.8315, allocations: 4 kB / 1.066 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.8315, allocations: 7.969 kB / 1.066 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/0.8363, allocations: 4.088 MB / 1.07 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.8363, allocations: 3.938 kB / 1.07 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.8371, allocations: 315.6 kB / 1.071 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.8375, allocations: 212 kB / 1.071 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.8376, allocations: 43.95 kB / 1.071 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.8416, allocations: 6.832 MB / 1.077 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.8416, allocations: 8.062 kB / 1.078 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.8446, allocations: 2.014 MB / 1.079 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/0.8454, allocations: 454 kB / 1.08 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.8456, allocations: 28 kB / 1.08 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.8462, allocations: 111.7 kB / 1.08 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.8464, allocations: 117.1 kB / 1.08 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.8465, allocations: 71.94 kB / 1.08 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002292/0.8488, allocations: 3.136 MB / 1.083 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8488, allocations: 4 kB / 1.083 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001668/0.8505, allocations: 0.6937 MB / 1.084 GB, free: 2.691 MB / 0.8542 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.004254/0.8547, allocations: 3.193 MB / 1.087 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.8571, allocations: 2 MB / 1.089 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8572, allocations: 0.6562 kB / 1.089 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.8585, allocations: 1.364 MB / 1.09 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.8603, allocations: 0.5651 MB / 1.091 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.8835, allocations: 20.9 MB / 1.111 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.8844, allocations: 1.529 MB / 1.113 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001441/0.8858, allocations: 0.5291 MB / 1.113 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.8872, allocations: 0.9132 MB / 1.114 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of SimCode: time 2.274e-06/0.8872, allocations: 0 / 1.114 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.462/1.349, allocations: 50.49 MB / 1.164 GB, free: 295.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.51, allocations: 3.625 kB / 1.164 GB, free: 295.9 MB / 0.9167 GB " [Timeout remaining time 647] (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: 15.725381816038862] Failed to read output from testmodel.py, exit status != 0: 12.681706770788878 12.690528626 11.914285411 Calling exit ...