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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 225.6 MB / 246.1 MB, free: 13.63 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 195.4 kB / 301.4 MB, free: 9.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4634/0.4634, allocations: 94.16 MB / 450.6 MB, free: 10.05 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002268/0.002268, allocations: 91.84 kB / 0.6018 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1277, allocations: 75.53 MB / 0.6756 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.007035/0.1347, allocations: 6.125 MB / 0.6816 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1381, allocations: 1.782 MB / 0.6833 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.1388, allocations: 12 kB / 0.6833 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.1394, allocations: 234.1 kB / 0.6836 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1409, allocations: 0.6017 MB / 0.6842 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1425, allocations: 0.7598 MB / 0.6849 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.1443, allocations: 1.366 MB / 0.6862 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.1447, allocations: 207.3 kB / 0.6864 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.1455, allocations: 0.5407 MB / 0.687 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.1466, allocations: 0.7117 MB / 0.6876 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.1468, allocations: 104 kB / 0.6877 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1473, allocations: 215.9 kB / 0.688 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.1477, allocations: 282.8 kB / 0.6882 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.1483, allocations: 0.5981 MB / 0.6888 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.15, allocations: 1.459 MB / 0.6902 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.15, allocations: 4 kB / 0.6902 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.15, allocations: 0 / 0.6902 GB, free: 4.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.15, allocations: 0 / 0.6902 GB, free: 4.84 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.008119/0.1581, allocations: 2.535 MB / 0.6927 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1582, allocations: 12.03 kB / 0.6927 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.1583, allocations: 122.5 kB / 0.6928 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.1624, allocations: 0.6743 MB / 0.6935 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1634, allocations: 0.7525 MB / 0.6942 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1638, allocations: 353.3 kB / 0.6946 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.1639, allocations: 67.94 kB / 0.6946 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2103/0.3742, allocations: 1.101 MB / 0.6957 GB, free: 22.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3742, allocations: 1.812 kB / 0.6957 GB, free: 22.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.3743, allocations: 27.09 kB / 0.6957 GB, free: 22.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3743, allocations: 17.84 kB / 0.6958 GB, free: 22.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.3763, allocations: 1.05 MB / 0.6968 GB, free: 22.92 MB / 494.1 MB 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.005025/0.3813, allocations: 3.414 MB / 0.7001 GB, free: 22.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.3962, allocations: 3.874 MB / 0.7039 GB, free: 21.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.3975, allocations: 0.6567 MB / 0.7045 GB, free: 20.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.3976, allocations: 22.14 kB / 0.7046 GB, free: 20.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3976, allocations: 39.7 kB / 0.7046 GB, free: 20.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.134e-06/0.3976, allocations: 0 / 0.7046 GB, free: 20.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.03323/0.4308, allocations: 8.432 MB / 0.7128 GB, free: 19.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4309, allocations: 91.73 kB / 0.7129 GB, free: 19.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.4318, allocations: 0.8501 MB / 0.7138 GB, free: 18.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.4319, allocations: 41.92 kB / 0.7138 GB, free: 18.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.4321, allocations: 458.7 kB / 0.7142 GB, free: 18.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.4323, allocations: 320 kB / 0.7145 GB, free: 17.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.4326, allocations: 157.3 kB / 0.7147 GB, free: 17.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.4327, allocations: 346.1 kB / 0.715 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.434, allocations: 0.6351 MB / 0.7156 GB, free: 17.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.4353, allocations: 0.7778 MB / 0.7164 GB, free: 16.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.4381, allocations: 1.434 MB / 0.7178 GB, free: 15.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4381, allocations: 1.188 kB / 0.7178 GB, free: 15.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01336/0.4514, allocations: 4.281 MB / 0.722 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4514, allocations: 7.656 kB / 0.722 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4515, allocations: 4.344 kB / 0.722 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006494/0.458, allocations: 2.085 MB / 0.724 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.4586, allocations: 128.2 kB / 0.7241 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.4825, allocations: 10.64 MB / 0.7345 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4837, allocations: 167.8 kB / 0.7347 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.4838, allocations: 35.8 kB / 0.7347 GB, free: 6.473 MB / 494.1 MB 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.0003298/0.4841, allocations: 228.9 kB / 0.735 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.4843, allocations: 115.3 kB / 0.7351 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.4968, allocations: 4.237 MB / 0.7392 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4969, allocations: 8 kB / 0.7392 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4969, allocations: 3.938 kB / 0.7392 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4969, allocations: 7.984 kB / 0.7392 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.5121, allocations: 5.636 MB / 0.7447 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.5121, allocations: 7.875 kB / 0.7447 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.5125, allocations: 76.97 kB / 0.7448 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00676/0.5193, allocations: 1.984 MB / 0.7467 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.5194, allocations: 16 kB / 0.7468 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02442/0.5438, allocations: 9.461 MB / 0.756 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5438, allocations: 0 / 0.756 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.56, allocations: 5.209 MB / 0.7611 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.5604, allocations: 201.1 kB / 0.7613 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.5605, allocations: 27.86 kB / 0.7613 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5615, allocations: 100.5 kB / 0.7614 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/0.5622, allocations: 228.5 kB / 0.7616 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.5623, allocations: 20 kB / 0.7616 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007766/0.563, allocations: 0.5869 MB / 0.7622 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.563, allocations: 1.312 kB / 0.7622 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001155/0.5642, allocations: 428.9 kB / 0.7626 GB, free: 10.26 MB / 0.5137 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.01638/0.5806, allocations: 5.769 MB / 0.7683 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007291/0.5879, allocations: 2.344 MB / 0.7705 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5879, allocations: 0 / 0.7705 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/0.5933, allocations: 1.609 MB / 0.7721 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.5941, allocations: 91.5 kB / 0.7722 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/0.6336, allocations: 15.3 MB / 0.7871 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.6343, allocations: 1.056 MB / 0.7882 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.6346, allocations: 76.84 kB / 0.7882 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.6351, allocations: 403.3 kB / 0.7886 GB, free: 15.36 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.6351, allocations: 0 / 0.7886 GB, free: 15.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07426/0.7094, allocations: 36.54 MB / 0.8243 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.55, allocations: 4.062 kB / 0.8243 GB, free: 10.96 MB / 0.5762 GB " [Timeout remaining time 644] (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: 18.512539755000034]