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.001406/0.001406, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.469/1.469, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001566/0.001566, allocations: 209.4 kB / 309.2 MB, free: 2.949 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.6282/0.6282, allocations: 107.3 MB / 473 MB, free: 4.418 MB / 334.1 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: 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.003335/0.003335, allocations: 91.86 kB / 0.6332 GB, free: 4.918 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4708, allocations: 80.16 MB / 0.7115 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.005869/0.4766, allocations: 5.389 MB / 0.7168 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.4812, allocations: 1.737 MB / 0.7185 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.4824, allocations: 10.34 kB / 0.7185 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000824/0.4833, allocations: 240.2 kB / 0.7187 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.4852, allocations: 0.5736 MB / 0.7193 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.4871, allocations: 0.7165 MB / 0.72 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.4891, allocations: 1.358 MB / 0.7213 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.4895, allocations: 190.6 kB / 0.7215 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.4903, allocations: 0.5732 MB / 0.722 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008217/0.4912, allocations: 0.6374 MB / 0.7227 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.4913, allocations: 104.8 kB / 0.7228 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.4918, allocations: 206.4 kB / 0.723 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.4921, allocations: 279.4 kB / 0.7232 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.4926, allocations: 498.1 kB / 0.7237 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.4944, allocations: 1.468 MB / 0.7251 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4945, allocations: 0 / 0.7251 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4945, allocations: 0 / 0.7251 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.779e-05/0.4945, allocations: 0 / 0.7251 GB, free: 11.91 MB / 0.4981 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.009035/0.5035, allocations: 2.478 MB / 0.7276 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5036, allocations: 10.06 kB / 0.7276 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.5038, allocations: 118.8 kB / 0.7277 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.5086, allocations: 0.6813 MB / 0.7283 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.5103, allocations: 0.6753 MB / 0.729 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.5109, allocations: 453.5 kB / 0.7294 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.5111, allocations: 75.36 kB / 0.7295 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.5139, allocations: 1.114 MB / 0.7306 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.5139, allocations: 1.125 kB / 0.7306 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.514, allocations: 25.62 kB / 0.7306 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.514, allocations: 16.66 kB / 0.7306 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/0.517, allocations: 1.065 MB / 0.7317 GB, free: 8.867 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.007659/0.5247, allocations: 2.691 MB / 0.7343 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.5413, allocations: 3.41 MB / 0.7376 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.5432, allocations: 0.6712 MB / 0.7383 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5433, allocations: 11.53 kB / 0.7383 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/0.5434, allocations: 47.62 kB / 0.7384 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.677e-06/0.5434, allocations: 0 / 0.7384 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03878/0.5822, allocations: 8.591 MB / 0.7467 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.5823, allocations: 86.83 kB / 0.7468 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.584, allocations: 0.8592 MB / 0.7477 GB, free: 388 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.5843, allocations: 40.27 kB / 0.7477 GB, free: 344 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.5848, allocations: 462.9 kB / 0.7481 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.5853, allocations: 323.4 kB / 0.7485 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/0.5857, allocations: 157.8 kB / 0.7486 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.586, allocations: 346.6 kB / 0.7489 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.5876, allocations: 0.6422 MB / 0.7496 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.5895, allocations: 0.7901 MB / 0.7503 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.593, allocations: 1.444 MB / 0.7517 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.593, allocations: 1.062 kB / 0.7517 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01616/0.6092, allocations: 4.328 MB / 0.756 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.6092, allocations: 8 kB / 0.756 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6092, allocations: 4 kB / 0.756 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00803/0.6173, allocations: 2.139 MB / 0.7581 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.618, allocations: 123.8 kB / 0.7582 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/0.6489, allocations: 10.48 MB / 0.7684 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.6507, allocations: 171.3 kB / 0.7686 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.6508, allocations: 28 kB / 0.7686 GB, free: 12.2 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.0004967/0.6513, allocations: 225.6 kB / 0.7688 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.6516, allocations: 115.2 kB / 0.7689 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.6675, allocations: 4.294 MB / 0.7731 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.6676, allocations: 8 kB / 0.7731 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6676, allocations: 7.938 kB / 0.7731 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.6676, allocations: 3.984 kB / 0.7732 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.6856, allocations: 5.188 MB / 0.7782 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.6856, allocations: 0 / 0.7782 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.6861, allocations: 83.84 kB / 0.7783 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007699/0.6938, allocations: 2.033 MB / 0.7803 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.6939, allocations: 20 kB / 0.7803 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0272/0.7211, allocations: 9.29 MB / 0.7894 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7211, allocations: 0 / 0.7894 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.7397, allocations: 5.267 MB / 0.7945 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.7402, allocations: 123.1 kB / 0.7946 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.7404, allocations: 16 kB / 0.7947 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.7415, allocations: 111.9 kB / 0.7948 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007137/0.7423, allocations: 236.5 kB / 0.795 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.7423, allocations: 20 kB / 0.795 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008366/0.7432, allocations: 0.5869 MB / 0.7956 GB, free: 352 kB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7432, allocations: 0 / 0.7956 GB, free: 352 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001321/0.7445, allocations: 427.7 kB / 0.796 GB, free: 15.92 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.01875/0.7632, allocations: 5.841 MB / 0.8017 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008576/0.7718, allocations: 2.388 MB / 0.804 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.7718, allocations: 0 / 0.804 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006357/0.7782, allocations: 1.651 MB / 0.8056 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7793, allocations: 93.38 kB / 0.8057 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/0.8239, allocations: 15.41 MB / 0.8208 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.8244, allocations: 471.6 kB / 0.8212 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.8248, allocations: 78.31 kB / 0.8213 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.8254, allocations: 399.3 kB / 0.8217 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.8254, allocations: 0 / 0.8217 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08528/0.9107, allocations: 37.9 MB / 0.8587 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.03, allocations: 6.922 kB / 0.8587 GB, free: 15.56 MB / 0.6231 GB " [Timeout remaining time 645] (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: 18.55595402000472] Failed to read output from testmodel.py, exit status != 0: 15.188676951918751 15.21639521 14.716668653 Calling exit ...