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.001361/0.001361, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.38/1.38, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001461/0.001461, allocations: 211.7 kB / 310 MB, free: 3.094 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.5806/0.5806, allocations: 101.3 MB / 467.8 MB, free: 30.61 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.002369/0.002369, allocations: 85.33 kB / 0.6252 GB, free: 33.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1417, allocations: 78.6 MB / 0.7019 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.007156/0.1488, allocations: 6.153 MB / 0.7079 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1526, allocations: 1.824 MB / 0.7097 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.1532, allocations: 8 kB / 0.7097 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.1537, allocations: 234.1 kB / 0.71 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.1551, allocations: 0.5929 MB / 0.7105 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1567, allocations: 0.7266 MB / 0.7112 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.1583, allocations: 1.37 MB / 0.7126 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.1587, allocations: 204 kB / 0.7128 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.1595, allocations: 0.568 MB / 0.7133 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008556/0.1603, allocations: 0.704 MB / 0.714 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.1605, allocations: 104 kB / 0.7141 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1609, allocations: 223.9 kB / 0.7143 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.1612, allocations: 274.9 kB / 0.7146 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.1617, allocations: 0.5942 MB / 0.7152 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.1633, allocations: 1.455 MB / 0.7166 GB, free: 1.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1633, allocations: 0 / 0.7166 GB, free: 1.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1633, allocations: 4 kB / 0.7166 GB, free: 1.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.1634, allocations: 0 / 0.7166 GB, free: 1.965 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.008409/0.1718, allocations: 2.467 MB / 0.719 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1718, allocations: 15.97 kB / 0.719 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.407e-05/0.1719, allocations: 17.31 kB / 0.719 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.172, allocations: 122.5 kB / 0.7192 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.1762, allocations: 0.6782 MB / 0.7198 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1774, allocations: 0.6675 MB / 0.7205 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.1779, allocations: 460.1 kB / 0.7209 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.1781, allocations: 71.94 kB / 0.721 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.1805, allocations: 1.11 MB / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1805, allocations: 3.938 kB / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.1806, allocations: 32 kB / 0.7221 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1806, allocations: 16 kB / 0.7221 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.1831, allocations: 1.066 MB / 0.7232 GB, free: 11.07 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.007377/0.1905, allocations: 3.369 MB / 0.7264 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.2073, allocations: 3.417 MB / 0.7298 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.2092, allocations: 0.6683 MB / 0.7304 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2093, allocations: 12.98 kB / 0.7304 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.2093, allocations: 47.56 kB / 0.7305 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.146e-06/0.2093, allocations: 3.938 kB / 0.7305 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03761/0.2469, allocations: 8.587 MB / 0.7389 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.247, allocations: 90.11 kB / 0.739 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.2483, allocations: 0.853 MB / 0.7398 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.2485, allocations: 41.64 kB / 0.7398 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.2489, allocations: 465 kB / 0.7403 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/0.2493, allocations: 317.2 kB / 0.7406 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.2497, allocations: 158.6 kB / 0.7407 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2498, allocations: 345.9 kB / 0.7411 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.2515, allocations: 0.6461 MB / 0.7417 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.2533, allocations: 0.7846 MB / 0.7425 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.2566, allocations: 1.449 MB / 0.7439 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2566, allocations: 3.938 kB / 0.7439 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01588/0.2725, allocations: 4.324 MB / 0.7481 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.2725, allocations: 8 kB / 0.7481 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.2726, allocations: 7.984 kB / 0.7481 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008055/0.2806, allocations: 2.139 MB / 0.7502 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.2814, allocations: 135.8 kB / 0.7503 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03254/0.3139, allocations: 10.7 MB / 0.7608 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.3155, allocations: 179.2 kB / 0.761 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.3157, allocations: 36 kB / 0.761 GB, free: 3.809 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.0006534/0.3164, allocations: 221.6 kB / 0.7612 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.3168, allocations: 119.2 kB / 0.7613 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.3325, allocations: 4.286 MB / 0.7655 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.3325, allocations: 8 kB / 0.7655 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3325, allocations: 3.938 kB / 0.7655 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/0.3325, allocations: 7.984 kB / 0.7655 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.3511, allocations: 5.67 MB / 0.7711 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.3511, allocations: 7.938 kB / 0.7711 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.3516, allocations: 71.91 kB / 0.7711 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007715/0.3593, allocations: 2.049 MB / 0.7731 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.3596, allocations: 20 kB / 0.7732 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.3869, allocations: 9.496 MB / 0.7824 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3869, allocations: 0 / 0.7824 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/0.405, allocations: 5.271 MB / 0.7876 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.4054, allocations: 131.1 kB / 0.7877 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.4058, allocations: 16 kB / 0.7877 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.4072, allocations: 103.9 kB / 0.7878 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009601/0.4081, allocations: 232.6 kB / 0.788 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.4083, allocations: 20 kB / 0.7881 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001147/0.4094, allocations: 0.5947 MB / 0.7886 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4094, allocations: 0 / 0.7886 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002231/0.4117, allocations: 419.7 kB / 0.789 GB, free: 6.785 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.01888/0.4305, allocations: 5.846 MB / 0.7948 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009217/0.4398, allocations: 2.392 MB / 0.7971 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4398, allocations: 0 / 0.7971 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006298/0.4461, allocations: 1.644 MB / 0.7987 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.4474, allocations: 95.42 kB / 0.7988 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3626/0.8099, allocations: 15.4 MB / 0.8138 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.8106, allocations: 1.051 MB / 0.8148 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.8109, allocations: 76.08 kB / 0.8149 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.8114, allocations: 404.6 kB / 0.8153 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.8114, allocations: 3.844 kB / 0.8153 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07507/0.8865, allocations: 37.1 MB / 0.8515 GB, free: 80.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.71, allocations: 5.672 kB / 0.8515 GB, free: 80.1 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.3386619950179] Failed to read output from testmodel.py, exit status != 0: 17.89102467801422 17.901199005 17.735624656 Calling exit ...