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.001684/0.001684, allocations: 116.1 kB / 17.17 MB, free: 6 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.437/1.437, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.00151/0.00151, allocations: 212.2 kB / 306.7 MB, free: 4.27 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.5499/0.5499, allocations: 101.3 MB / 464.1 MB, free: 11.9 MB / 334.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.002425/0.002425, allocations: 81.59 kB / 0.62 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1652, allocations: 78.57 MB / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.3319/0.497, allocations: 6.123 MB / 0.7027 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.5006, allocations: 1.82 MB / 0.7045 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.5012, allocations: 9.906 kB / 0.7045 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.5017, allocations: 234.9 kB / 0.7047 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.5029, allocations: 0.5915 MB / 0.7053 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.5043, allocations: 0.7308 MB / 0.706 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5057, allocations: 1.359 MB / 0.7073 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.506, allocations: 201.4 kB / 0.7075 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.5066, allocations: 0.5726 MB / 0.7081 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.5073, allocations: 0.7055 MB / 0.7087 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.5074, allocations: 109 kB / 0.7088 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.5078, allocations: 215.9 kB / 0.7091 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.508, allocations: 274.6 kB / 0.7093 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.5084, allocations: 0.5955 MB / 0.7099 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.5099, allocations: 1.456 MB / 0.7113 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5099, allocations: 0 / 0.7113 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5099, allocations: 3.938 kB / 0.7113 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.067e-05/0.51, allocations: 0 / 0.7113 GB, free: 0.5547 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.008302/0.5183, allocations: 2.546 MB / 0.7138 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5183, allocations: 14.62 kB / 0.7138 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.767e-05/0.5183, allocations: 16.94 kB / 0.7138 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.5185, allocations: 124 kB / 0.714 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.5227, allocations: 0.6779 MB / 0.7146 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5239, allocations: 0.7419 MB / 0.7153 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.5243, allocations: 345.8 kB / 0.7157 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.5245, allocations: 81.56 kB / 0.7158 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.5269, allocations: 1.119 MB / 0.7168 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5269, allocations: 3.25 kB / 0.7168 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.527, allocations: 28.31 kB / 0.7169 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.527, allocations: 16.75 kB / 0.7169 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.5295, allocations: 1.065 MB / 0.7179 GB, free: 13.48 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.00705/0.5366, allocations: 3.413 MB / 0.7213 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/0.5543, allocations: 3.871 MB / 0.725 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.5563, allocations: 0.675 MB / 0.7257 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5564, allocations: 22.11 kB / 0.7257 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.5564, allocations: 43.75 kB / 0.7258 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.5564, allocations: 0 / 0.7258 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.03849/0.5949, allocations: 8.668 MB / 0.7342 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.595, allocations: 90.45 kB / 0.7343 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5964, allocations: 0.851 MB / 0.7351 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.5966, allocations: 40.33 kB / 0.7352 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.597, allocations: 458.3 kB / 0.7356 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.5974, allocations: 319.5 kB / 0.7359 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.5977, allocations: 166.1 kB / 0.7361 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5979, allocations: 338.2 kB / 0.7364 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.5995, allocations: 0.6464 MB / 0.737 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.6013, allocations: 0.7818 MB / 0.7378 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.6046, allocations: 1.451 MB / 0.7392 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6046, allocations: 1.281 kB / 0.7392 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01575/0.6204, allocations: 4.325 MB / 0.7434 GB, free: 392 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.6204, allocations: 6.781 kB / 0.7435 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6204, allocations: 3.75 kB / 0.7435 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007821/0.6282, allocations: 2.137 MB / 0.7455 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.629, allocations: 128.7 kB / 0.7457 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0303/0.6593, allocations: 10.82 MB / 0.7562 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.661, allocations: 167.3 kB / 0.7564 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6611, allocations: 35.98 kB / 0.7564 GB, free: 4.344 MB / 0.5137 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.0004971/0.6616, allocations: 229.6 kB / 0.7566 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.6618, allocations: 117.3 kB / 0.7568 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.6775, allocations: 4.286 MB / 0.7609 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.6776, allocations: 12 kB / 0.761 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6776, allocations: 3.938 kB / 0.761 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6776, allocations: 7.969 kB / 0.761 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.6952, allocations: 5.698 MB / 0.7665 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.6952, allocations: 3.938 kB / 0.7665 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.6956, allocations: 79.91 kB / 0.7666 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007402/0.703, allocations: 2.046 MB / 0.7686 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.7031, allocations: 20 kB / 0.7686 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/0.7295, allocations: 9.603 MB / 0.778 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.7295, allocations: 3.938 kB / 0.778 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/0.7474, allocations: 5.267 MB / 0.7832 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.748, allocations: 204.2 kB / 0.7833 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.7481, allocations: 12 kB / 0.7834 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7493, allocations: 107.9 kB / 0.7835 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007834/0.75, allocations: 224.7 kB / 0.7837 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.7501, allocations: 23.94 kB / 0.7837 GB, free: 8.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008693/0.751, allocations: 0.5908 MB / 0.7843 GB, free: 7.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.751, allocations: 0 / 0.7843 GB, free: 7.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001413/0.7524, allocations: 423.7 kB / 0.7847 GB, free: 7.062 MB / 0.545 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.01826/0.7707, allocations: 5.847 MB / 0.7904 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008382/0.779, allocations: 2.391 MB / 0.7927 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7791, allocations: 256 / 0.7927 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006174/0.7852, allocations: 1.644 MB / 0.7943 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7863, allocations: 86.42 kB / 0.7944 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04415/0.8305, allocations: 15.4 MB / 0.8095 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.8315, allocations: 1.056 MB / 0.8105 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004403/0.8319, allocations: 78.31 kB / 0.8106 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007127/0.8326, allocations: 399.3 kB / 0.8109 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of SimCode: time 2.054e-06/0.8326, allocations: 4 kB / 0.8109 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07975/0.9124, allocations: 36.23 MB / 0.8463 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.97, allocations: 7.812 kB / 0.8463 GB, free: 7.824 MB / 0.6075 GB " [Timeout remaining time 643] (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: 20.562050574983004] Failed to read output from testmodel.py, exit status != 0: 17.13788504898548 17.163942381 16.64918436 Calling exit ...