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.001316/0.001316, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001411/0.001411, allocations: 216.2 kB / 310 MB, free: 3.07 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.5837/0.5837, allocations: 101.3 MB / 467.7 MB, free: 32.09 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="cs",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.002322/0.002322, allocations: 81.42 kB / 0.6251 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1389, allocations: 78.61 MB / 0.7018 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.006726/0.1457, allocations: 5.376 MB / 0.7071 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1494, allocations: 1.739 MB / 0.7088 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003814/0.1497, allocations: 8 kB / 0.7088 GB, free: 9.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.1503, allocations: 230.1 kB / 0.709 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1518, allocations: 0.5823 MB / 0.7096 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.1536, allocations: 0.7063 MB / 0.7103 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1555, allocations: 1.382 MB / 0.7116 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.1559, allocations: 204 kB / 0.7118 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.1566, allocations: 0.5641 MB / 0.7124 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.1574, allocations: 0.7079 MB / 0.7131 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.1576, allocations: 108 kB / 0.7132 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.1581, allocations: 215.8 kB / 0.7134 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.1584, allocations: 270.9 kB / 0.7136 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.159, allocations: 0.4895 MB / 0.7141 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.1612, allocations: 1.47 MB / 0.7155 GB, free: 2.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1613, allocations: 7.984 kB / 0.7156 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1613, allocations: 0 / 0.7156 GB, free: 2.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.1613, allocations: 0 / 0.7156 GB, free: 2.723 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.00889/0.1702, allocations: 2.463 MB / 0.718 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1702, allocations: 8.031 kB / 0.718 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.83e-05/0.1703, allocations: 17.31 kB / 0.718 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.1704, allocations: 126.4 kB / 0.7181 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.1747, allocations: 0.6782 MB / 0.7188 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.176, allocations: 0.6753 MB / 0.7194 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.1764, allocations: 448.1 kB / 0.7199 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.1766, allocations: 75.94 kB / 0.7199 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.179, allocations: 1.11 MB / 0.721 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.179, allocations: 0 / 0.721 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.1791, allocations: 32 kB / 0.721 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1791, allocations: 16 kB / 0.7211 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1815, allocations: 1.07 MB / 0.7221 GB, free: 11.83 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.006051/0.1875, allocations: 2.694 MB / 0.7247 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.2029, allocations: 3.421 MB / 0.7281 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.2046, allocations: 0.6722 MB / 0.7287 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.2047, allocations: 9 kB / 0.7287 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2047, allocations: 39.56 kB / 0.7288 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.2047, allocations: 0 / 0.7288 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03485/0.2395, allocations: 8.595 MB / 0.7372 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.2396, allocations: 86.11 kB / 0.7372 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2409, allocations: 0.853 MB / 0.7381 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.2411, allocations: 41.7 kB / 0.7381 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.2415, allocations: 461 kB / 0.7386 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.2419, allocations: 321.2 kB / 0.7389 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.2423, allocations: 162.6 kB / 0.739 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2424, allocations: 345.8 kB / 0.7394 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.244, allocations: 0.646 MB / 0.74 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.2456, allocations: 0.7846 MB / 0.7407 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.2487, allocations: 1.449 MB / 0.7422 GB, free: 7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2487, allocations: 4 kB / 0.7422 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01466/0.2633, allocations: 4.332 MB / 0.7464 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.2634, allocations: 8 kB / 0.7464 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2634, allocations: 4 kB / 0.7464 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007356/0.2707, allocations: 2.131 MB / 0.7485 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.2714, allocations: 131.8 kB / 0.7486 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02837/0.2998, allocations: 10.47 MB / 0.7588 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.3013, allocations: 167.3 kB / 0.759 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.3015, allocations: 35.98 kB / 0.759 GB, free: 5.57 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.0004812/0.3019, allocations: 229.6 kB / 0.7593 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.3022, allocations: 119.2 kB / 0.7594 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.3166, allocations: 4.282 MB / 0.7636 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.3166, allocations: 12 kB / 0.7636 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3166, allocations: 3.938 kB / 0.7636 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.3166, allocations: 3.984 kB / 0.7636 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.3323, allocations: 5.188 MB / 0.7686 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.3323, allocations: 3.938 kB / 0.7686 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.3328, allocations: 83.89 kB / 0.7687 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006761/0.3395, allocations: 2.037 MB / 0.7707 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.3397, allocations: 16 kB / 0.7707 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/0.3639, allocations: 9.286 MB / 0.7798 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3639, allocations: 0 / 0.7798 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.3802, allocations: 5.275 MB / 0.7849 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.3806, allocations: 131.1 kB / 0.7851 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.3809, allocations: 16 kB / 0.7851 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.3821, allocations: 107.9 kB / 0.7852 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007679/0.3829, allocations: 228.6 kB / 0.7854 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.383, allocations: 20 kB / 0.7854 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009343/0.3839, allocations: 0.5869 MB / 0.786 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 0.786 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001553/0.3855, allocations: 423.7 kB / 0.7864 GB, free: 9.297 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.01648/0.4019, allocations: 5.839 MB / 0.7921 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007623/0.4096, allocations: 2.396 MB / 0.7944 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4096, allocations: 0 / 0.7944 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005528/0.4151, allocations: 1.648 MB / 0.7961 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.4161, allocations: 90.3 kB / 0.7961 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3325/0.7487, allocations: 15.41 MB / 0.8112 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.7493, allocations: 469 kB / 0.8116 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003619/0.7496, allocations: 77.58 kB / 0.8117 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.7501, allocations: 403 kB / 0.8121 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.7501, allocations: 0 / 0.8121 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.8129, allocations: 37.13 MB / 0.8484 GB, free: 82.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/17.99, allocations: 10.84 kB / 0.8484 GB, free: 82.31 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.57122044498101] Failed to read output from testmodel.py, exit status != 0: 18.17364658799488 18.191878168 18.027112136 Calling exit ...