Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.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.001368/0.001368, allocations: 114.3 kB / 18.94 MB, free: 2.934 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 / 252.6 MB, free: 8.305 MB / 206.1 MB " [Timeout remaining time 178] 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.001572/0.001572, allocations: 218 kB / 309.2 MB, free: 3.141 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5425/0.5425, allocations: 101.3 MB / 467 MB, free: 10.31 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.002461/0.002461, allocations: 87.86 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4858, allocations: 78.61 MB / 0.7012 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.005849/0.4917, allocations: 6.145 MB / 0.7072 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.4957, allocations: 1.839 MB / 0.709 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.4964, allocations: 9.188 kB / 0.709 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.497, allocations: 242.7 kB / 0.7092 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.4983, allocations: 0.584 MB / 0.7098 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.4999, allocations: 0.727 MB / 0.7105 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.5018, allocations: 1.368 MB / 0.7119 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.5021, allocations: 200.5 kB / 0.712 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.5029, allocations: 0.567 MB / 0.7126 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008421/0.5038, allocations: 0.7108 MB / 0.7133 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.5039, allocations: 106.6 kB / 0.7134 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.5045, allocations: 216.6 kB / 0.7136 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.5047, allocations: 281.4 kB / 0.7139 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.5051, allocations: 0.5886 MB / 0.7144 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.5069, allocations: 1.456 MB / 0.7159 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5069, allocations: 2.75 kB / 0.7159 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5069, allocations: 0 / 0.7159 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.507, allocations: 0.5625 kB / 0.7159 GB, free: 15.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.009112/0.5161, allocations: 2.476 MB / 0.7183 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5161, allocations: 10.62 kB / 0.7183 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.5163, allocations: 120.2 kB / 0.7184 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.5208, allocations: 0.6796 MB / 0.7191 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.5223, allocations: 0.6717 MB / 0.7197 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.5228, allocations: 448.6 kB / 0.7202 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.523, allocations: 75 kB / 0.7202 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.5256, allocations: 1.121 MB / 0.7213 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5256, allocations: 2.625 kB / 0.7213 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.5257, allocations: 25.25 kB / 0.7214 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5257, allocations: 15.56 kB / 0.7214 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.5284, allocations: 1.069 MB / 0.7224 GB, free: 12.82 MB / 0.4981 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.008296/0.5367, allocations: 3.359 MB / 0.7257 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.5536, allocations: 3.426 MB / 0.729 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.5555, allocations: 0.6714 MB / 0.7297 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.5556, allocations: 14.73 kB / 0.7297 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5557, allocations: 47.25 kB / 0.7298 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.886e-06/0.5557, allocations: 0 / 0.7298 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03822/0.5939, allocations: 8.587 MB / 0.7381 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.594, allocations: 91.2 kB / 0.7382 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.5954, allocations: 0.8534 MB / 0.7391 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.5957, allocations: 45.7 kB / 0.7391 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.5961, allocations: 453.5 kB / 0.7395 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.5966, allocations: 326.8 kB / 0.7398 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.597, allocations: 161.8 kB / 0.74 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5972, allocations: 342.2 kB / 0.7403 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.5989, allocations: 0.6436 MB / 0.741 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.6006, allocations: 0.7823 MB / 0.7417 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.6039, allocations: 1.453 MB / 0.7431 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6039, allocations: 5.281 kB / 0.7431 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01656/0.6205, allocations: 4.322 MB / 0.7474 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.6205, allocations: 6.688 kB / 0.7474 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6205, allocations: 3.469 kB / 0.7474 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007962/0.6285, allocations: 2.137 MB / 0.7495 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.6292, allocations: 127.8 kB / 0.7496 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/0.6596, allocations: 10.72 MB / 0.7601 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.6614, allocations: 163.3 kB / 0.7602 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.6615, allocations: 39.92 kB / 0.7602 GB, free: 3.516 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005512/0.662, allocations: 225.7 kB / 0.7605 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6624, allocations: 119.2 kB / 0.7606 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/0.678, allocations: 4.286 MB / 0.7648 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.6781, allocations: 8 kB / 0.7648 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.6781, allocations: 7.938 kB / 0.7648 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.6781, allocations: 3.984 kB / 0.7648 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.6966, allocations: 5.666 MB / 0.7703 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.6966, allocations: 0 / 0.7703 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.6972, allocations: 91.77 kB / 0.7704 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00776/0.705, allocations: 2.037 MB / 0.7724 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/0.7052, allocations: 16 kB / 0.7724 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02709/0.7323, allocations: 9.501 MB / 0.7817 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.7323, allocations: 7.938 kB / 0.7817 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/0.7506, allocations: 5.271 MB / 0.7868 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.7512, allocations: 131.1 kB / 0.787 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.7515, allocations: 16 kB / 0.787 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7528, allocations: 111.9 kB / 0.7871 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007744/0.7536, allocations: 228.6 kB / 0.7873 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.7537, allocations: 27.98 kB / 0.7873 GB, free: 7.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00084/0.7545, allocations: 0.583 MB / 0.7879 GB, free: 6.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7545, allocations: 0 / 0.7879 GB, free: 6.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001408/0.7559, allocations: 423.7 kB / 0.7883 GB, free: 6.484 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01814/0.7741, allocations: 5.846 MB / 0.794 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008088/0.7821, allocations: 2.392 MB / 0.7964 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7821, allocations: 0 / 0.7964 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/0.7883, allocations: 1.636 MB / 0.7979 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.7893, allocations: 95.42 kB / 0.798 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04426/0.8335, allocations: 15.4 MB / 0.8131 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.8343, allocations: 1.06 MB / 0.8141 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000411/0.8347, allocations: 82.3 kB / 0.8142 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.8353, allocations: 403.3 kB / 0.8146 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/0.8353, allocations: 4 kB / 0.8146 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08769/0.923, allocations: 37.06 MB / 0.8508 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/18.74, allocations: 5.844 kB / 0.8508 GB, free: 6.32 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.211694874997193] Failed to read output from testmodel.py, exit status != 0: 18.874614223001117 18.901081037 18.389324411 Calling exit ...