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.001039/0.001039, 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.8825/0.8825, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001038/0.001038, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 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.2641/0.2641, allocations: 80.26 MB / 392.6 MB, free: 2.438 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.486e-05, allocations: 6.219 kB / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.004257/0.004271, allocations: 5.395 MB / 0.5601 GB, free: 7.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.006346, allocations: 1.723 MB / 0.5617 GB, free: 5.539 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.006609, allocations: 8 kB / 0.5617 GB, free: 5.531 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.006978, allocations: 234 kB / 0.562 GB, free: 5.301 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.007862, allocations: 0.5977 MB / 0.5626 GB, free: 4.699 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.008732, allocations: 0.7076 MB / 0.5632 GB, free: 3.996 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009661/0.009698, allocations: 1.403 MB / 0.5646 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.009939, allocations: 191.7 kB / 0.5648 GB, free: 2.391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.01049, allocations: 0.787 MB / 0.5656 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.01095, allocations: 0.553 MB / 0.5661 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.01104, allocations: 104 kB / 0.5662 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.01128, allocations: 215.9 kB / 0.5664 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.01143, allocations: 278.8 kB / 0.5667 GB, free: 472 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.01167, allocations: 406.6 kB / 0.5671 GB, free: 64 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009882/0.01266, allocations: 1.491 MB / 0.5685 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01266, allocations: 0 / 0.5685 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01267, allocations: 0 / 0.5685 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.01268, allocations: 0 / 0.5685 GB, free: 14.56 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.004321/0.017, allocations: 2.458 MB / 0.5709 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.01704, allocations: 8.031 kB / 0.5709 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.01715, allocations: 122.5 kB / 0.571 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.01919, allocations: 0.6782 MB / 0.5717 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.01991, allocations: 0.683 MB / 0.5724 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.02015, allocations: 452 kB / 0.5728 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02026, allocations: 72 kB / 0.5729 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.02163, allocations: 1.11 MB / 0.574 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.02164, allocations: 11.86 kB / 0.574 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.02171, allocations: 36 kB / 0.574 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.02172, allocations: 16 kB / 0.574 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.02314, allocations: 1.054 MB / 0.5751 GB, free: 7.688 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.003616/0.02675, allocations: 2.698 MB / 0.5777 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.03461, allocations: 3.401 MB / 0.581 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.03552, allocations: 0.6644 MB / 0.5817 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/0.0356, allocations: 16.94 kB / 0.5817 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.03563, allocations: 55.48 kB / 0.5817 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.03563, allocations: 0 / 0.5817 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01912/0.05475, allocations: 8.583 MB / 0.5901 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.0548, allocations: 86.11 kB / 0.5902 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.05582, allocations: 0.8685 MB / 0.591 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.05588, allocations: 37.7 kB / 0.5911 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.05612, allocations: 457.1 kB / 0.5915 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.05633, allocations: 313.2 kB / 0.5918 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.05656, allocations: 162.5 kB / 0.592 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.05666, allocations: 345.9 kB / 0.5923 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.05761, allocations: 0.6383 MB / 0.5929 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.05861, allocations: 0.7924 MB / 0.5937 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.06056, allocations: 1.449 MB / 0.5951 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.06056, allocations: 3.938 kB / 0.5951 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.1882/0.2488, allocations: 4.329 MB / 0.5993 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.2488, allocations: 6.656 kB / 0.5993 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.2488, allocations: 3.188 kB / 0.5993 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003849/0.2527, allocations: 2.142 MB / 0.6014 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.2531, allocations: 124.8 kB / 0.6016 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.2681, allocations: 10.47 MB / 0.6118 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.2688, allocations: 159.8 kB / 0.6119 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.2689, allocations: 32.78 kB / 0.612 GB, free: 88.01 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.0002703/0.2691, allocations: 227.3 kB / 0.6122 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2693, allocations: 119.5 kB / 0.6123 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007969/0.2772, allocations: 4.287 MB / 0.6165 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2772, allocations: 9.344 kB / 0.6165 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.2772, allocations: 1.719 kB / 0.6165 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.2773, allocations: 4.547 kB / 0.6165 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009162/0.2864, allocations: 5.193 MB / 0.6216 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2864, allocations: 1.062 kB / 0.6216 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2866, allocations: 79.8 kB / 0.6217 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.2902, allocations: 2.041 MB / 0.6236 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.2902, allocations: 25.45 kB / 0.6237 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.3034, allocations: 9.275 MB / 0.6327 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3034, allocations: 1.125 kB / 0.6327 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/0.3117, allocations: 5.268 MB / 0.6379 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3118, allocations: 129.3 kB / 0.638 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.3119, allocations: 11.72 kB / 0.638 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.3124, allocations: 110.1 kB / 0.6381 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/0.3128, allocations: 242.5 kB / 0.6383 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3128, allocations: 18.69 kB / 0.6384 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004174/0.3133, allocations: 0.5849 MB / 0.6389 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3133, allocations: 0 / 0.6389 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008338/0.3141, allocations: 423.3 kB / 0.6393 GB, free: 77.53 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.008127/0.3222, allocations: 5.848 MB / 0.645 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003921/0.3261, allocations: 2.384 MB / 0.6474 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3261, allocations: 0 / 0.6474 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.3288, allocations: 1.636 MB / 0.649 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3293, allocations: 91.5 kB / 0.6491 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.349, allocations: 15.29 MB / 0.664 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3493, allocations: 467.7 kB / 0.6644 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.3494, allocations: 75.39 kB / 0.6645 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3497, allocations: 408.3 kB / 0.6649 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.3497, allocations: 0 / 0.6649 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.3905, allocations: 38.09 MB / 0.7021 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.889/9.28, allocations: 3.578 kB / 0.7021 GB, free: 14.13 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.61628751270473] Failed to read output from testmodel.py, exit status != 0: 9.382758504711092 9.3892847 9.375121945 Calling exit ...