Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.001753/0.001753, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] 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.002114/0.002114, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.396/1.396, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8139/0.8139, allocations: 133.9 MB / 443.5 MB, free: 14.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00194/0.00194, allocations: 66.64 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 85.85 MB / 0.6979 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009589/0.17, allocations: 7.029 MB / 0.7048 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1916/0.3616, allocations: 159.1 MB / 0.8602 GB, free: 8.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.3635, allocations: 43.69 kB / 0.8602 GB, free: 8.266 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.3644, allocations: 297.1 kB / 0.8605 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3667, allocations: 0.7287 MB / 0.8612 GB, free: 7.242 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.3696, allocations: 1.311 MB / 0.8625 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005012/0.3746, allocations: 4.575 MB / 0.867 GB, free: 1.348 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4417/0.8162, allocations: 1.957 MB / 0.8689 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.8201, allocations: 1.856 MB / 0.8707 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/0.8239, allocations: 1.796 MB / 0.8724 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.8255, allocations: 473.4 kB / 0.8729 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.8287, allocations: 1.11 MB / 0.874 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.8299, allocations: 1.008 MB / 0.875 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.8329, allocations: 1.895 MB / 0.8768 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.8425, allocations: 5.636 MB / 0.8823 GB, free: 1.605 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.639e-06/0.8425, allocations: 0 / 0.8823 GB, free: 1.605 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8425, allocations: 0.8438 kB / 0.8823 GB, free: 1.605 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002336/0.8428, allocations: 2.25 kB / 0.8823 GB, free: 1.605 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.009132/0.8519, allocations: 4.022 MB / 0.8862 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8519, allocations: 13.61 kB / 0.8862 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.526e-05/0.852, allocations: 79.83 kB / 0.8863 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005325/0.8525, allocations: 427.5 kB / 0.8867 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.8677, allocations: 1.983 MB / 0.8887 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/0.8723, allocations: 2.199 MB / 0.8908 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.8725, allocations: 232.3 kB / 0.891 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/0.873, allocations: 290 kB / 0.8913 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008917/0.8819, allocations: 4.454 MB / 0.8957 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.882, allocations: 1.031 kB / 0.8957 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.8823, allocations: 130.2 kB / 0.8958 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.8824, allocations: 76.5 kB / 0.8959 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009798/0.8922, allocations: 4.907 MB / 0.9007 GB, free: 14.75 MB / 0.6856 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.02089/0.9131, allocations: 14.08 MB / 0.9144 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009533/0.9226, allocations: 3.885 MB / 0.9182 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/0.9261, allocations: 1.562 MB / 0.9197 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.9274, allocations: 1.076 MB / 0.9208 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004075/0.9314, allocations: 2.035 MB / 0.9228 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 3.337e-06/0.9314, allocations: 0 / 0.9228 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01275/0.9442, allocations: 5.238 MB / 0.9279 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.9443, allocations: 207.8 kB / 0.9281 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.9472, allocations: 2.009 MB / 0.93 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.9475, allocations: 65.42 kB / 0.9301 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.9485, allocations: 1.231 MB / 0.9313 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007831/0.9493, allocations: 0.7584 MB / 0.932 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008644/0.9502, allocations: 0.498 MB / 0.9325 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9503, allocations: 303.8 kB / 0.9328 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.954, allocations: 1.56 MB / 0.9343 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/0.9578, allocations: 1.861 MB / 0.9362 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007288/0.9651, allocations: 3.394 MB / 0.9395 GB, free: 108 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9651, allocations: 6.438 kB / 0.9395 GB, free: 108 kB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009711/0.9748, allocations: 3.912 MB / 0.9433 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.9748, allocations: 11.94 kB / 0.9433 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.9749, allocations: 4 kB / 0.9433 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.9755, allocations: 104.6 kB / 0.9434 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/0.9791, allocations: 0.6819 MB / 0.9441 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.9815, allocations: 1.703 MB / 0.9457 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.9851, allocations: 435.6 kB / 0.9462 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/0.9855, allocations: 127.8 kB / 0.9463 GB, free: 9.559 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 264 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.9878, allocations: 0.9315 MB / 0.9472 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/0.9885, allocations: 230.5 kB / 0.9474 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.9991, allocations: 4.204 MB / 0.9515 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.9991, allocations: 24 kB / 0.9515 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9991, allocations: 3.984 kB / 0.9515 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.9991, allocations: 7.969 kB / 0.9515 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.015, allocations: 7.89 MB / 0.9593 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.015, allocations: 0 / 0.9593 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/1.018, allocations: 0.576 MB / 0.9598 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/1.019, allocations: 88.23 kB / 0.9599 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.019, allocations: 67.94 kB / 0.96 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/1.021, allocations: 1.717 MB / 0.9616 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.021, allocations: 0 / 0.9616 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008648/1.03, allocations: 3.477 MB / 0.965 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.031, allocations: 0.7642 MB / 0.9658 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/1.032, allocations: 63.78 kB / 0.9658 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.034, allocations: 267.6 kB / 0.9661 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/1.034, allocations: 153.3 kB / 0.9662 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.035, allocations: 83.94 kB / 0.9663 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002408/1.037, allocations: 1.535 MB / 0.9678 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 0.9678 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002739/1.04, allocations: 0.8841 MB / 0.9687 GB, free: 2.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/1.05, allocations: 4.618 MB / 0.9732 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008482/1.059, allocations: 3.441 MB / 0.9766 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.059, allocations: 4 kB / 0.9766 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/1.063, allocations: 1.687 MB / 0.9782 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.066, allocations: 462.3 kB / 0.9787 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05338/1.119, allocations: 24.37 MB / 1.002 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.122, allocations: 2.262 MB / 1.005 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003819/1.126, allocations: 0.9226 MB / 1.006 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/1.128, allocations: 1.272 MB / 1.007 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/1.128, allocations: 0 / 1.007 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.249, allocations: 61.42 MB / 1.067 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.61, allocations: 11.97 kB / 1.067 GB, free: 14.39 MB / 0.8262 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.53805115201976] Failed to read output from testmodel.py, exit status != 0: 17.140652846952435 16.90612861 16.05970798 Calling exit ...