Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.001408/0.001408, allocations: 105.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.001561/0.001561, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9413/0.9413, allocations: 230.6 MB / 256 MB, free: 9.609 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.795/0.795, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.0009143/0.0009143, allocations: 63.25 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5073, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1398/0.6471, allocations: 135.9 MB / 0.9505 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.6592, allocations: 9.953 MB / 0.9602 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.6602, allocations: 27.75 kB / 0.9603 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.6611, allocations: 285.7 kB / 0.9605 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.6637, allocations: 1.005 MB / 0.9615 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.666, allocations: 1.112 MB / 0.9626 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.6682, allocations: 1.748 MB / 0.9643 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.6693, allocations: 0.9164 MB / 0.9652 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.6712, allocations: 0.7756 MB / 0.966 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.6719, allocations: 0.5794 MB / 0.9665 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.6721, allocations: 136 kB / 0.9667 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.6737, allocations: 1.003 MB / 0.9676 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.674, allocations: 406.7 kB / 0.968 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.6745, allocations: 0.5482 MB / 0.9686 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.6775, allocations: 2.3 MB / 0.9708 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6775, allocations: 0 / 0.9708 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6775, allocations: 0 / 0.9708 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.984e-05/0.6775, allocations: 0 / 0.9708 GB, free: 8.492 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002601/0.6801, allocations: 1.73 MB / 0.9725 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6802, allocations: 12.03 kB / 0.9725 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6803, allocations: 152.1 kB / 0.9726 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.6815, allocations: 330.8 kB / 0.973 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.6828, allocations: 1.022 MB / 0.974 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.6829, allocations: 81.92 kB / 0.974 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.683, allocations: 92 kB / 0.9741 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.6845, allocations: 1.486 MB / 0.9756 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6845, allocations: 0 / 0.9756 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.6846, allocations: 40 kB / 0.9756 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6846, allocations: 24 kB / 0.9756 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.6861, allocations: 1.28 MB / 0.9769 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.6901, allocations: 2.774 MB / 0.9796 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.6914, allocations: 0.9654 MB / 0.9805 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.6918, allocations: 390.3 kB / 0.9809 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.692, allocations: 52.95 kB / 0.981 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008733/0.6929, allocations: 0.8474 MB / 0.9818 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=95): time 3.968e-06/0.6929, allocations: 4 kB / 0.9818 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=95): time 0.00265/0.6955, allocations: 1.485 MB / 0.9832 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.6957, allocations: 196.9 kB / 0.9834 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.697, allocations: 1.044 MB / 0.9845 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.697, allocations: 41.7 kB / 0.9845 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.6974, allocations: 485.2 kB / 0.985 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.6976, allocations: 333.2 kB / 0.9853 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.6978, allocations: 166.6 kB / 0.9854 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6979, allocations: 345.9 kB / 0.9858 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.6983, allocations: 329.8 kB / 0.9861 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.6989, allocations: 0.6705 MB / 0.9867 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.6999, allocations: 0.7725 MB / 0.9875 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6999, allocations: 0 / 0.9875 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001636/0.7015, allocations: 1.041 MB / 0.9885 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7015, allocations: 4 kB / 0.9885 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7016, allocations: 4 kB / 0.9885 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.702, allocations: 113.7 kB / 0.9886 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.7025, allocations: 195.7 kB / 0.9888 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.7048, allocations: 2.861 MB / 0.9916 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.7055, allocations: 119.5 kB / 0.9917 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.7055, allocations: 31.98 kB / 0.9917 GB, free: 2.25 MB / 0.7605 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005235/0.706, allocations: 305.5 kB / 0.992 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.7062, allocations: 107.3 kB / 0.9921 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.708, allocations: 1.322 MB / 0.9934 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.708, allocations: 12 kB / 0.9934 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7081, allocations: 0 / 0.9934 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7081, allocations: 7.969 kB / 0.9934 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.7111, allocations: 2.274 MB / 0.9957 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7111, allocations: 0 / 0.9957 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.7115, allocations: 187.8 kB / 0.9958 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.7118, allocations: 109.6 kB / 0.996 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.7119, allocations: 23.98 kB / 0.996 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.7139, allocations: 2.881 MB / 0.9988 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.7139, allocations: 3.938 kB / 0.9988 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.7156, allocations: 1.249 MB / 1 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.7159, allocations: 250.9 kB / 1 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.716, allocations: 20 kB / 1 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.7164, allocations: 77.62 kB / 1 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.7166, allocations: 84.84 kB / 1 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.7166, allocations: 51.91 kB / 1 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000617/0.7172, allocations: 0.7723 MB / 1.001 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7172, allocations: 0 / 1.001 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001002/0.7182, allocations: 458.9 kB / 1.002 GB, free: 7.742 MB / 0.7761 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002928/0.7212, allocations: 2.422 MB / 1.004 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.7225, allocations: 1.076 MB / 1.005 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7225, allocations: 4 kB / 1.005 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.7234, allocations: 0.7059 MB / 1.006 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.7243, allocations: 366.5 kB / 1.006 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008866/0.7332, allocations: 8.451 MB / 1.014 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.7335, allocations: 0.5127 MB / 1.015 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.7342, allocations: 312.1 kB / 1.015 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.7347, allocations: 475.2 kB / 1.016 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of SimCode: time 1.442e-06/0.7347, allocations: 0 / 1.016 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.7818, allocations: 30.59 MB / 1.045 GB, free: 11.14 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.451, allocations: 6.562 kB / 1.046 GB, free: 11.14 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.46433781972155] Failed to read output from testmodel.py, exit status != 0: 9.602344036102295 9.611984039 8.932678594 Calling exit ...