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.001318/0.001318, allocations: 103 kB / 16.45 MB, free: 6.449 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.501/1.501, allocations: 230.6 MB / 249.8 MB, free: 9.215 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.001548/0.001548, allocations: 213.6 kB / 306 MB, free: 4.336 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.5505/0.5505, allocations: 101.3 MB / 463.4 MB, free: 11.93 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.002686/0.002686, allocations: 91.88 kB / 0.6193 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 78.57 MB / 0.6961 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.2908/0.4448, allocations: 6.124 MB / 0.702 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.4483, allocations: 1.82 MB / 0.7038 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.4492, allocations: 9.938 kB / 0.7038 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.4498, allocations: 231.5 kB / 0.704 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.4512, allocations: 0.5917 MB / 0.7046 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4526, allocations: 0.7303 MB / 0.7053 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.454, allocations: 1.365 MB / 0.7067 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.4543, allocations: 194.2 kB / 0.7068 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.455, allocations: 0.5644 MB / 0.7074 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006713/0.4557, allocations: 0.7127 MB / 0.7081 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.4558, allocations: 106.9 kB / 0.7082 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.4562, allocations: 216 kB / 0.7084 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.4564, allocations: 273.3 kB / 0.7087 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.4568, allocations: 0.5923 MB / 0.7092 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4583, allocations: 1.46 MB / 0.7107 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4583, allocations: 0 / 0.7107 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4583, allocations: 0 / 0.7107 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.4583, allocations: 0 / 0.7107 GB, free: 0.5312 MB / 494.1 MB 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.008771/0.4671, allocations: 2.55 MB / 0.7132 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4671, allocations: 8.625 kB / 0.7132 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.4673, allocations: 118.9 kB / 0.7133 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.4719, allocations: 0.6828 MB / 0.7139 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.4733, allocations: 0.7447 MB / 0.7147 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.4737, allocations: 355.4 kB / 0.715 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.4738, allocations: 75.06 kB / 0.7151 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.4764, allocations: 1.111 MB / 0.7162 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4764, allocations: 0 / 0.7162 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.4765, allocations: 33.67 kB / 0.7162 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4765, allocations: 18.53 kB / 0.7162 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.4791, allocations: 1.067 MB / 0.7173 GB, free: 13.46 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.007468/0.4866, allocations: 3.418 MB / 0.7206 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/0.505, allocations: 3.871 MB / 0.7244 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.5072, allocations: 0.6678 MB / 0.725 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.5074, allocations: 23.22 kB / 0.7251 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.5074, allocations: 51.38 kB / 0.7251 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.766e-06/0.5075, allocations: 0 / 0.7251 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.04181/0.5493, allocations: 8.664 MB / 0.7336 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.5493, allocations: 91.89 kB / 0.7337 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.5513, allocations: 0.8532 MB / 0.7345 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003502/0.5516, allocations: 41.27 kB / 0.7345 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.5521, allocations: 450.6 kB / 0.735 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006793/0.5528, allocations: 323 kB / 0.7353 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005659/0.5534, allocations: 157.1 kB / 0.7354 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5536, allocations: 346.5 kB / 0.7357 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.5555, allocations: 0.647 MB / 0.7364 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.5576, allocations: 0.7905 MB / 0.7371 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/0.5615, allocations: 1.445 MB / 0.7386 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.5615, allocations: 1 kB / 0.7386 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01734/0.5788, allocations: 4.326 MB / 0.7428 GB, free: 364 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5789, allocations: 7.562 kB / 0.7428 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5789, allocations: 2.906 kB / 0.7428 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/0.5874, allocations: 2.137 MB / 0.7449 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.5881, allocations: 131.7 kB / 0.745 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/0.6214, allocations: 10.82 MB / 0.7556 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.6232, allocations: 163.3 kB / 0.7557 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.6235, allocations: 35.98 kB / 0.7558 GB, free: 4.328 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.0006208/0.6241, allocations: 225.7 kB / 0.756 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.6245, allocations: 115.2 kB / 0.7561 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.6414, allocations: 4.294 MB / 0.7603 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6414, allocations: 8 kB / 0.7603 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6414, allocations: 3.938 kB / 0.7603 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.6414, allocations: 3.984 kB / 0.7603 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/0.6603, allocations: 5.698 MB / 0.7659 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.6603, allocations: 4 kB / 0.7659 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.6608, allocations: 79.84 kB / 0.7659 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007893/0.6687, allocations: 2.039 MB / 0.7679 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.6689, allocations: 20 kB / 0.7679 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.6982, allocations: 9.611 MB / 0.7773 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.6982, allocations: 0 / 0.7773 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/0.7173, allocations: 5.273 MB / 0.7825 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.718, allocations: 204.2 kB / 0.7827 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.7185, allocations: 16 kB / 0.7827 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.7201, allocations: 107.9 kB / 0.7828 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009332/0.721, allocations: 216.7 kB / 0.783 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.7212, allocations: 31.92 kB / 0.783 GB, free: 8.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001173/0.7224, allocations: 0.583 MB / 0.7836 GB, free: 7.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7224, allocations: 0 / 0.7836 GB, free: 7.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001772/0.7241, allocations: 427.6 kB / 0.784 GB, free: 7.051 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.01972/0.7439, allocations: 5.848 MB / 0.7897 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008901/0.7528, allocations: 2.387 MB / 0.7921 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7528, allocations: 0 / 0.7921 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006634/0.7594, allocations: 1.649 MB / 0.7937 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.7606, allocations: 94.16 kB / 0.7938 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04813/0.8087, allocations: 15.4 MB / 0.8088 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/0.8096, allocations: 1.052 MB / 0.8098 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004205/0.81, allocations: 78.31 kB / 0.8099 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.8107, allocations: 407.3 kB / 0.8103 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.8107, allocations: 0 / 0.8103 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08583/0.8966, allocations: 36.18 MB / 0.8456 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/17.7, allocations: 17.62 kB / 0.8456 GB, free: 7.824 MB / 0.6075 GB " [Timeout remaining time 642] (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: 21.195544115034863] Failed to read output from testmodel.py, exit status != 0: 17.81172778084874 17.83213149 17.369733644 Calling exit ...