Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.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.001259/0.001259, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001346/0.001346, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8181/0.8181, allocations: 134 MB / 447.2 MB, free: 9.926 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.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",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.00191/0.00191, allocations: 68.02 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1786, allocations: 85.91 MB / 0.7031 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008975/0.1876, allocations: 6.223 MB / 0.7092 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5463/0.7339, allocations: 137.3 MB / 0.8432 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.7351, allocations: 39.75 kB / 0.8433 GB, free: 3.867 MB / 0.6075 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.0008718/0.736, allocations: 305.1 kB / 0.8436 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.7381, allocations: 0.7377 MB / 0.8443 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.7409, allocations: 1.313 MB / 0.8456 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004918/0.7458, allocations: 4.571 MB / 0.85 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.7482, allocations: 1.586 MB / 0.8516 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.7514, allocations: 1.871 MB / 0.8534 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.7538, allocations: 1.797 MB / 0.8552 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006923/0.7545, allocations: 472 kB / 0.8556 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.7566, allocations: 1.093 MB / 0.8567 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009126/0.7575, allocations: 0.997 MB / 0.8577 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003406/0.7609, allocations: 1.505 MB / 0.8591 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.7699, allocations: 5.666 MB / 0.8647 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.7699, allocations: 4 kB / 0.8647 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.644e-06/0.7699, allocations: 0 / 0.8647 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001794/0.7701, allocations: 0 / 0.8647 GB, free: 13.86 MB / 0.6387 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.009613/0.7797, allocations: 3.949 MB / 0.8685 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7798, allocations: 8.031 kB / 0.8685 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000104/0.7799, allocations: 85.95 kB / 0.8686 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006058/0.7805, allocations: 417.6 kB / 0.869 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.7964, allocations: 1.987 MB / 0.871 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/0.8012, allocations: 2.156 MB / 0.8731 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.8014, allocations: 241.9 kB / 0.8733 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.8021, allocations: 291.9 kB / 0.8736 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.8125, allocations: 4.703 MB / 0.8782 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.8126, allocations: 7.984 kB / 0.8782 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.813, allocations: 120 kB / 0.8783 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.813, allocations: 76 kB / 0.8784 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.8249, allocations: 4.909 MB / 0.8831 GB, free: 10.64 MB / 0.6544 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.0241/0.849, allocations: 10.5 MB / 0.8934 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.8595, allocations: 3.878 MB / 0.8972 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.8633, allocations: 1.57 MB / 0.8987 GB, free: 10.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/0.8642, allocations: 158.1 kB / 0.8989 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004961/0.8691, allocations: 2.135 MB / 0.901 GB, free: 8.191 MB / 0.67 GB Notification: Performance of pre-optimization done (n=214): time 6.863e-06/0.8691, allocations: 3.938 kB / 0.901 GB, free: 8.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=214): time 0.01373/0.8829, allocations: 5.171 MB / 0.906 GB, free: 3.012 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.883, allocations: 209.9 kB / 0.9062 GB, free: 2.766 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.8864, allocations: 2.002 MB / 0.9082 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004882/0.8869, allocations: 65.7 kB / 0.9082 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.8882, allocations: 1.227 MB / 0.9094 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.8893, allocations: 0.763 MB / 0.9102 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009425/0.8902, allocations: 0.4994 MB / 0.9107 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8903, allocations: 305.1 kB / 0.9109 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/0.8941, allocations: 1.55 MB / 0.9125 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004256/0.8983, allocations: 2.024 MB / 0.9144 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007761/0.9061, allocations: 3.388 MB / 0.9177 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.9061, allocations: 4.875 kB / 0.9178 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009597/0.9157, allocations: 3.92 MB / 0.9216 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.9157, allocations: 8 kB / 0.9216 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9157, allocations: 4 kB / 0.9216 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.9164, allocations: 97.06 kB / 0.9217 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.9199, allocations: 0.6863 MB / 0.9224 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.9221, allocations: 1.599 MB / 0.9239 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.9253, allocations: 422.1 kB / 0.9243 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.9256, allocations: 131.9 kB / 0.9244 GB, free: 15.66 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.001868/0.9275, allocations: 0.93 MB / 0.9254 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/0.9281, allocations: 238.4 kB / 0.9256 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009939/0.938, allocations: 4.199 MB / 0.9297 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.9381, allocations: 27.94 kB / 0.9297 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9381, allocations: 0 / 0.9297 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.9381, allocations: 11.95 kB / 0.9297 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.952, allocations: 7.38 MB / 0.9369 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.952, allocations: 0 / 0.9369 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/0.9549, allocations: 0.5811 MB / 0.9375 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.9554, allocations: 76.78 kB / 0.9376 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.9556, allocations: 71.88 kB / 0.9376 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.9576, allocations: 1.614 MB / 0.9392 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9576, allocations: 4.031 kB / 0.9392 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.9656, allocations: 3.474 MB / 0.9426 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.9672, allocations: 0.7069 MB / 0.9433 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.9676, allocations: 59.83 kB / 0.9434 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/0.9699, allocations: 275.6 kB / 0.9436 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/0.9702, allocations: 153.7 kB / 0.9438 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/0.9704, allocations: 83.95 kB / 0.9438 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002221/0.9727, allocations: 1.535 MB / 0.9453 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9727, allocations: 0 / 0.9453 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002263/0.9749, allocations: 0.888 MB / 0.9462 GB, free: 9 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.0101/0.985, allocations: 4.662 MB / 0.9508 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008105/0.9931, allocations: 3.436 MB / 0.9541 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.9931, allocations: 4 kB / 0.9541 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003659/0.9968, allocations: 1.689 MB / 0.9558 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.999, allocations: 441.4 kB / 0.9562 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04737/1.046, allocations: 24.4 MB / 0.98 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/1.048, allocations: 1.711 MB / 0.9817 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003106/1.051, allocations: 0.9264 MB / 0.9826 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/1.054, allocations: 1.265 MB / 0.9838 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of SimCode: time 1.223e-06/1.054, allocations: 0 / 0.9838 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.173, allocations: 64.51 MB / 1.047 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/17.96, allocations: 4 kB / 1.047 GB, free: 2.156 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.885872307932004] Failed to read output from testmodel.py, exit status != 0: 18.266850512009114 18.289957301 17.515600082 Calling exit ...