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.0007004/0.0007004, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8393/0.8393, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.0009621/0.0009621, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2643/0.2643, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.555 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.921e-05, allocations: 6.219 kB / 0.555 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.004195/0.004215, allocations: 5.38 MB / 0.5602 GB, free: 7.203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.007601, allocations: 1.731 MB / 0.5619 GB, free: 5.465 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.008137, allocations: 12 kB / 0.5619 GB, free: 5.453 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.008589, allocations: 226 kB / 0.5621 GB, free: 5.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.009601, allocations: 0.5977 MB / 0.5627 GB, free: 4.629 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.01065, allocations: 0.7062 MB / 0.5634 GB, free: 3.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.01196, allocations: 1.412 MB / 0.5648 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.01229, allocations: 187.8 kB / 0.565 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008777/0.01316, allocations: 0.783 MB / 0.5657 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.01372, allocations: 0.5569 MB / 0.5663 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.01389, allocations: 112 kB / 0.5664 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.01423, allocations: 199.9 kB / 0.5666 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.01439, allocations: 290.7 kB / 0.5669 GB, free: 392 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.0147, allocations: 406.7 kB / 0.5672 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.01587, allocations: 1.476 MB / 0.5687 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01587, allocations: 4 kB / 0.5687 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01587, allocations: 0 / 0.5687 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.0159, allocations: 3.938 kB / 0.5687 GB, free: 14.5 MB / 0.4948 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.004515/0.02042, allocations: 2.459 MB / 0.5711 GB, free: 12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.02046, allocations: 8.031 kB / 0.5711 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.02058, allocations: 122.5 kB / 0.5712 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.02261, allocations: 0.6821 MB / 0.5719 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.02349, allocations: 0.6791 MB / 0.5725 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.02376, allocations: 448 kB / 0.573 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.02386, allocations: 72 kB / 0.573 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.02543, allocations: 1.118 MB / 0.5741 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.02545, allocations: 7.938 kB / 0.5741 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.02551, allocations: 24 kB / 0.5742 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.02552, allocations: 19.94 kB / 0.5742 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.02698, allocations: 1.058 MB / 0.5752 GB, free: 7.621 MB / 0.4948 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.003879/0.03086, allocations: 2.69 MB / 0.5778 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.03823, allocations: 3.409 MB / 0.5812 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009097/0.03914, allocations: 0.6721 MB / 0.5818 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/0.03923, allocations: 12.98 kB / 0.5818 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.03925, allocations: 47.56 kB / 0.5819 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.03925, allocations: 4 kB / 0.5819 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01825/0.0575, allocations: 8.583 MB / 0.5903 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.05755, allocations: 90.11 kB / 0.5904 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.0584, allocations: 0.8569 MB / 0.5912 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.05849, allocations: 41.7 kB / 0.5912 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.05898, allocations: 453.1 kB / 0.5917 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.05922, allocations: 329.1 kB / 0.592 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.05943, allocations: 158.6 kB / 0.5921 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.05952, allocations: 345.9 kB / 0.5925 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009011/0.06042, allocations: 0.6422 MB / 0.5931 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/0.06136, allocations: 0.7846 MB / 0.5939 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.06319, allocations: 1.449 MB / 0.5953 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.06319, allocations: 7.938 kB / 0.5953 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.1935/0.2567, allocations: 4.32 MB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.2567, allocations: 9.75 kB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.2567, allocations: 3.188 kB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003773/0.2605, allocations: 2.138 MB / 0.6016 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2609, allocations: 122.7 kB / 0.6017 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.2758, allocations: 10.48 MB / 0.6119 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.2766, allocations: 165 kB / 0.6121 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.2766, allocations: 35.09 kB / 0.6121 GB, free: 87.81 MB / 0.5105 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.0002828/0.2769, allocations: 223 kB / 0.6123 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.277, allocations: 118.9 kB / 0.6125 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007868/0.2849, allocations: 4.29 MB / 0.6166 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.2849, allocations: 10.02 kB / 0.6167 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2849, allocations: 3.938 kB / 0.6167 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/0.2849, allocations: 5.844 kB / 0.6167 GB, free: 86.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/0.294, allocations: 5.184 MB / 0.6217 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.294, allocations: 1.125 kB / 0.6217 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2943, allocations: 90.33 kB / 0.6218 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.2978, allocations: 2.039 MB / 0.6238 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.2979, allocations: 16.25 kB / 0.6238 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.3107, allocations: 9.279 MB / 0.6329 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3107, allocations: 1.062 kB / 0.6329 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.3189, allocations: 5.265 MB / 0.638 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.3191, allocations: 129.2 kB / 0.6381 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3192, allocations: 15.44 kB / 0.6382 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.3197, allocations: 109.2 kB / 0.6383 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/0.3201, allocations: 236.6 kB / 0.6385 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.3202, allocations: 18.34 kB / 0.6385 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004327/0.3206, allocations: 0.5839 MB / 0.6391 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3206, allocations: 0 / 0.6391 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009956/0.3216, allocations: 435.3 kB / 0.6395 GB, free: 77.32 MB / 0.5105 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.007983/0.3296, allocations: 5.835 MB / 0.6452 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003706/0.3333, allocations: 2.388 MB / 0.6475 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3333, allocations: 0 / 0.6475 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/0.3358, allocations: 1.636 MB / 0.6491 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3364, allocations: 101.4 kB / 0.6492 GB, free: 68.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/0.3553, allocations: 15.29 MB / 0.6642 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3555, allocations: 467.7 kB / 0.6646 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000199/0.3557, allocations: 79.34 kB / 0.6647 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.356, allocations: 404.4 kB / 0.6651 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/0.356, allocations: 3.938 kB / 0.6651 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.3938, allocations: 38.08 MB / 0.7023 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.428, allocations: 7.5 kB / 0.7023 GB, free: 14.04 MB / 0.5105 GB " [Timeout remaining time 651] (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: 10.640164541080594] Failed to read output from testmodel.py, exit status != 0: 8.528652994893491 8.534264917 8.51712258 Calling exit ...