Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001817/0.001817, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.492/1.492, allocations: 230.6 MB / 252.6 MB, free: 8.332 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.001707/0.001707, allocations: 219.1 kB / 309.2 MB, free: 3.172 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5713/0.5713, allocations: 107.2 MB / 472.8 MB, free: 4.77 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_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.002469/0.002469, allocations: 83.88 kB / 0.6331 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.45, allocations: 80.15 MB / 0.7114 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.00596/0.456, allocations: 6.139 MB / 0.7174 GB, free: 16 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.4606, allocations: 1.834 MB / 0.7192 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.4612, allocations: 10.5 kB / 0.7192 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.4618, allocations: 235.5 kB / 0.7194 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.4633, allocations: 0.594 MB / 0.72 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.4652, allocations: 0.7268 MB / 0.7207 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.4674, allocations: 1.371 MB / 0.722 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.4679, allocations: 201.9 kB / 0.7222 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.4687, allocations: 0.5749 MB / 0.7228 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009525/0.4697, allocations: 0.7032 MB / 0.7235 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.4699, allocations: 106.6 kB / 0.7236 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.4703, allocations: 219.4 kB / 0.7238 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.4706, allocations: 274 kB / 0.7241 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.4711, allocations: 0.592 MB / 0.7246 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.4732, allocations: 1.452 MB / 0.7261 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4732, allocations: 6.469 kB / 0.7261 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4732, allocations: 0 / 0.7261 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.4732, allocations: 0 / 0.7261 GB, free: 11.06 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.008516/0.4817, allocations: 2.482 MB / 0.7285 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4817, allocations: 8.625 kB / 0.7285 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.4819, allocations: 119.9 kB / 0.7286 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004459/0.4864, allocations: 0.6812 MB / 0.7293 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.4881, allocations: 0.6704 MB / 0.7299 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/0.4886, allocations: 451.2 kB / 0.7304 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.4888, allocations: 73.81 kB / 0.7304 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.4914, allocations: 1.122 MB / 0.7315 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4914, allocations: 0 / 0.7315 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.4915, allocations: 26.62 kB / 0.7315 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4915, allocations: 16 kB / 0.7316 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.4941, allocations: 1.069 MB / 0.7326 GB, free: 8.016 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.007324/0.5014, allocations: 3.36 MB / 0.7359 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/0.5179, allocations: 3.418 MB / 0.7392 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.5197, allocations: 0.6676 MB / 0.7399 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5198, allocations: 18.77 kB / 0.7399 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.5199, allocations: 48.12 kB / 0.7399 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.315e-06/0.5199, allocations: 0 / 0.7399 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03733/0.5572, allocations: 8.59 MB / 0.7483 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.5573, allocations: 91.2 kB / 0.7484 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.5588, allocations: 0.8506 MB / 0.7492 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.5591, allocations: 40.27 kB / 0.7493 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.5595, allocations: 466.6 kB / 0.7497 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.56, allocations: 327.1 kB / 0.75 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.5603, allocations: 157.2 kB / 0.7502 GB, free: 14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5605, allocations: 342 kB / 0.7505 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.5621, allocations: 0.6437 MB / 0.7511 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.5639, allocations: 0.7859 MB / 0.7519 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.5672, allocations: 1.445 MB / 0.7533 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5672, allocations: 1.375 kB / 0.7533 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0159/0.5831, allocations: 4.326 MB / 0.7576 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.5831, allocations: 16.02 kB / 0.7576 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5831, allocations: 4 kB / 0.7576 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007885/0.591, allocations: 2.139 MB / 0.7597 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.5917, allocations: 127.8 kB / 0.7598 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03025/0.622, allocations: 10.7 MB / 0.7702 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.6237, allocations: 171.3 kB / 0.7704 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6238, allocations: 32 kB / 0.7704 GB, free: 10.55 MB / 0.5294 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.0004714/0.6243, allocations: 225.7 kB / 0.7706 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6245, allocations: 119.2 kB / 0.7708 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.6402, allocations: 4.286 MB / 0.7749 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.6402, allocations: 15.92 kB / 0.775 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6402, allocations: 3.938 kB / 0.775 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.6403, allocations: 3.984 kB / 0.775 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.6582, allocations: 5.67 MB / 0.7805 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6582, allocations: 0 / 0.7805 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.6587, allocations: 83.84 kB / 0.7806 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007565/0.6662, allocations: 2.041 MB / 0.7826 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.6665, allocations: 16 kB / 0.7826 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/0.6932, allocations: 9.504 MB / 0.7919 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.6932, allocations: 3.938 kB / 0.7919 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.711, allocations: 5.275 MB / 0.797 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.7114, allocations: 135 kB / 0.7972 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.7116, allocations: 16 kB / 0.7972 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7128, allocations: 103.9 kB / 0.7973 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/0.7135, allocations: 228.6 kB / 0.7975 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.7135, allocations: 20 kB / 0.7975 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008393/0.7144, allocations: 0.5908 MB / 0.7981 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7144, allocations: 0 / 0.7981 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001316/0.7157, allocations: 423.7 kB / 0.7985 GB, free: 13.52 MB / 0.5606 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.01805/0.7337, allocations: 5.847 MB / 0.8042 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008106/0.7418, allocations: 2.396 MB / 0.8065 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7418, allocations: 0 / 0.8065 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/0.748, allocations: 1.636 MB / 0.8081 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.7489, allocations: 97.55 kB / 0.8082 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/0.7927, allocations: 15.41 MB / 0.8233 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.7934, allocations: 1.06 MB / 0.8243 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.7938, allocations: 82.31 kB / 0.8244 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.7944, allocations: 403.3 kB / 0.8248 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7944, allocations: 0 / 0.8248 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/0.8799, allocations: 37.06 MB / 0.861 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/18.75, allocations: 3.938 kB / 0.861 GB, free: 13.33 MB / 0.6231 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.28524431702681] Failed to read output from testmodel.py, exit status != 0: 18.8854731421452 18.910378371 18.432584203 Calling exit ...