Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001381/0.001381, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001607/0.001607, allocations: 211.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8485/0.8485, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_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.001982/0.001982, allocations: 70.08 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5682/0.7475, allocations: 147.1 MB / 0.846 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.7717, allocations: 15.95 MB / 0.8616 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.7731, allocations: 43.62 kB / 0.8616 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.775, allocations: 0.5237 MB / 0.8621 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.7805, allocations: 1.697 MB / 0.8638 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.7845, allocations: 1.428 MB / 0.8652 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.788, allocations: 2.548 MB / 0.8677 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.7907, allocations: 1.597 MB / 0.8692 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004646/0.7954, allocations: 1.445 MB / 0.8706 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.797, allocations: 0.9643 MB / 0.8716 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005573/0.7976, allocations: 208 kB / 0.8718 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.801, allocations: 1.447 MB / 0.8732 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.802, allocations: 0.7983 MB / 0.874 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.8036, allocations: 0.9523 MB / 0.8749 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005919/0.8095, allocations: 3.614 MB / 0.8784 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8095, allocations: 0 / 0.8784 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8095, allocations: 0 / 0.8784 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.377e-05/0.8096, allocations: 0 / 0.8784 GB, free: 14.96 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.006522/0.8162, allocations: 2.801 MB / 0.8811 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.8162, allocations: 12.03 kB / 0.8812 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.8167, allocations: 240.5 kB / 0.8814 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.8211, allocations: 0.6306 MB / 0.882 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005262/0.8264, allocations: 3.33 MB / 0.8853 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.8265, allocations: 123.3 kB / 0.8854 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.8269, allocations: 163.9 kB / 0.8855 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.8312, allocations: 2.637 MB / 0.8881 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.8313, allocations: 0 / 0.8881 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.8314, allocations: 68 kB / 0.8882 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.8315, allocations: 44 kB / 0.8882 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.8352, allocations: 1.991 MB / 0.8902 GB, free: 2.59 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009923/0.8451, allocations: 4.818 MB / 0.8949 GB, free: 13.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.8482, allocations: 1.619 MB / 0.8964 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.8495, allocations: 0.671 MB / 0.8971 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.85, allocations: 121.2 kB / 0.8972 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/0.8521, allocations: 1.54 MB / 0.8987 GB, free: 9.574 MB / 0.67 GB Notification: Performance of pre-optimization done (n=137): time 3.566e-06/0.8521, allocations: 0 / 0.8987 GB, free: 9.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=137): time 0.006564/0.8586, allocations: 2.473 MB / 0.9011 GB, free: 7.082 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.8588, allocations: 205.2 kB / 0.9013 GB, free: 6.836 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004897/0.8637, allocations: 4.032 MB / 0.9053 GB, free: 2.797 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.8639, allocations: 53.7 kB / 0.9053 GB, free: 2.738 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/0.8648, allocations: 0.8916 MB / 0.9062 GB, free: 1.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.8652, allocations: 475.9 kB / 0.9066 GB, free: 1.367 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.8656, allocations: 226.8 kB / 0.9069 GB, free: 1.141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8658, allocations: 353.9 kB / 0.9072 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.8668, allocations: 0.5413 MB / 0.9077 GB, free: 252 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.8683, allocations: 1.187 MB / 0.9089 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.8706, allocations: 1.251 MB / 0.9101 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.8706, allocations: 0 / 0.9101 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003864/0.8745, allocations: 1.699 MB / 0.9118 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.8745, allocations: 4 kB / 0.9118 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8745, allocations: 7.875 kB / 0.9118 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.8756, allocations: 220.1 kB / 0.912 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.877, allocations: 307.6 kB / 0.9123 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006555/0.8836, allocations: 6.776 MB / 0.9189 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.8852, allocations: 147.2 kB / 0.919 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.8853, allocations: 47.91 kB / 0.9191 GB, free: 3.824 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.001009/0.8864, allocations: 481.7 kB / 0.9195 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.8868, allocations: 194.8 kB / 0.9197 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.8912, allocations: 2.039 MB / 0.9217 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8912, allocations: 16 kB / 0.9217 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8912, allocations: 0 / 0.9217 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.8912, allocations: 7.969 kB / 0.9217 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.8982, allocations: 3.651 MB / 0.9253 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.8982, allocations: 3.938 kB / 0.9253 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.8996, allocations: 311.6 kB / 0.9256 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008807/0.9005, allocations: 200.1 kB / 0.9258 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/0.9006, allocations: 43.91 kB / 0.9258 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.9068, allocations: 6.808 MB / 0.9325 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9068, allocations: 0 / 0.9325 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.9109, allocations: 1.92 MB / 0.9344 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.9119, allocations: 438.1 kB / 0.9348 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.9122, allocations: 32.19 kB / 0.9348 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.9133, allocations: 98.64 kB / 0.9349 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.9135, allocations: 109 kB / 0.935 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9137, allocations: 67.95 kB / 0.9351 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003511/0.9172, allocations: 3.108 MB / 0.9381 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9172, allocations: 4 kB / 0.9381 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001822/0.919, allocations: 0.643 MB / 0.9387 GB, free: 14.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00658/0.9256, allocations: 3.124 MB / 0.9418 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.929, allocations: 1.922 MB / 0.9437 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.929, allocations: 0.8906 kB / 0.9437 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.931, allocations: 1.325 MB / 0.945 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.9334, allocations: 0.5275 MB / 0.9455 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/0.965, allocations: 20.52 MB / 0.9655 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.9661, allocations: 0.9251 MB / 0.9664 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001809/0.9679, allocations: 0.5243 MB / 0.9669 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.9692, allocations: 0.8546 MB / 0.9678 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.9692, allocations: 0 / 0.9678 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.08, allocations: 50.18 MB / 1.017 GB, free: 15.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.25, allocations: 4.062 kB / 1.017 GB, free: 15.29 MB / 0.795 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.06393335433677] Failed to read output from testmodel.py, exit status != 0: 16.492122417781502 16.517342427 15.703164148 Calling exit ...