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.001262/0.001262, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001456/0.001456, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.791/0.791, allocations: 134 MB / 447.2 MB, free: 10.26 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.001889/0.001889, allocations: 69.14 kB / 0.6193 GB, free: 7.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1698, allocations: 85.91 MB / 0.7032 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.00931/0.1792, allocations: 7.073 MB / 0.7101 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5176/0.6968, allocations: 159.3 MB / 0.8656 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.6984, allocations: 43.69 kB / 0.8657 GB, free: 444 kB / 0.6231 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.0009593/0.6994, allocations: 301.1 kB / 0.866 GB, free: 140 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.7021, allocations: 0.7334 MB / 0.8667 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.7057, allocations: 1.332 MB / 0.868 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005521/0.7112, allocations: 4.574 MB / 0.8725 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.7136, allocations: 1.586 MB / 0.874 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.717, allocations: 1.872 MB / 0.8758 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.7195, allocations: 1.789 MB / 0.8776 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.7201, allocations: 472 kB / 0.878 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.7224, allocations: 1.12 MB / 0.8791 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009135/0.7233, allocations: 1.005 MB / 0.8801 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.7254, allocations: 1.89 MB / 0.882 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006641/0.7321, allocations: 5.639 MB / 0.8875 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7321, allocations: 0 / 0.8875 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7321, allocations: 0 / 0.8875 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001026/0.7322, allocations: 0 / 0.8875 GB, free: 10.03 MB / 0.6544 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.008174/0.7404, allocations: 3.945 MB / 0.8913 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7404, allocations: 15.97 kB / 0.8913 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.026e-05/0.7405, allocations: 81.95 kB / 0.8914 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005413/0.741, allocations: 421.6 kB / 0.8918 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.7559, allocations: 1.983 MB / 0.8937 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/0.7607, allocations: 2.164 MB / 0.8959 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.7609, allocations: 230 kB / 0.8961 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006124/0.7615, allocations: 291.9 kB / 0.8964 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.7716, allocations: 4.46 MB / 0.9007 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.7717, allocations: 3.938 kB / 0.9007 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.7721, allocations: 128 kB / 0.9008 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.7721, allocations: 72 kB / 0.9009 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.784, allocations: 4.905 MB / 0.9057 GB, free: 7.113 MB / 0.67 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.02371/0.8078, allocations: 14.03 MB / 0.9194 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.8182, allocations: 3.887 MB / 0.9232 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.822, allocations: 1.562 MB / 0.9247 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.8228, allocations: 181.8 kB / 0.9249 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004578/0.8274, allocations: 2.039 MB / 0.9269 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 3.326e-06/0.8274, allocations: 0 / 0.9269 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01361/0.841, allocations: 5.163 MB / 0.9319 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.8411, allocations: 205.9 kB / 0.9321 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.8442, allocations: 2.006 MB / 0.9341 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.8445, allocations: 61.7 kB / 0.9341 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.8457, allocations: 1.231 MB / 0.9353 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.8465, allocations: 0.7552 MB / 0.9361 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/0.8474, allocations: 0.5032 MB / 0.9366 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8475, allocations: 301.1 kB / 0.9369 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/0.8514, allocations: 1.565 MB / 0.9384 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.8555, allocations: 1.854 MB / 0.9402 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008018/0.8635, allocations: 3.408 MB / 0.9435 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8635, allocations: 0 / 0.9435 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009913/0.8735, allocations: 3.912 MB / 0.9473 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.8735, allocations: 4.469 kB / 0.9473 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.8735, allocations: 8.859 kB / 0.9474 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.8741, allocations: 96.77 kB / 0.9474 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.8776, allocations: 0.6863 MB / 0.9481 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.8798, allocations: 1.602 MB / 0.9497 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.8831, allocations: 433 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/0.8834, allocations: 123.8 kB / 0.9502 GB, free: 8.277 MB / 0.7169 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.001882/0.8853, allocations: 0.9401 MB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/0.8859, allocations: 238.4 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.8961, allocations: 4.202 MB / 0.9555 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.8961, allocations: 24 kB / 0.9555 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8961, allocations: 0 / 0.9555 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.8961, allocations: 11.95 kB / 0.9555 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.9112, allocations: 7.867 MB / 0.9632 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.9112, allocations: 0 / 0.9632 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/0.914, allocations: 0.5772 MB / 0.9637 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.9145, allocations: 84.78 kB / 0.9638 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/0.9146, allocations: 63.89 kB / 0.9639 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.9167, allocations: 1.626 MB / 0.9655 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9167, allocations: 0 / 0.9655 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008157/0.9249, allocations: 3.478 MB / 0.9689 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.9265, allocations: 0.7108 MB / 0.9696 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.9269, allocations: 59.84 kB / 0.9696 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/0.9292, allocations: 271.6 kB / 0.9699 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.9295, allocations: 153.7 kB / 0.97 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/0.9297, allocations: 79.95 kB / 0.9701 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002276/0.9319, allocations: 1.535 MB / 0.9716 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9319, allocations: 0 / 0.9716 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002283/0.9342, allocations: 0.892 MB / 0.9725 GB, free: 1.117 MB / 0.7325 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.01028/0.9445, allocations: 4.624 MB / 0.977 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008363/0.9529, allocations: 3.436 MB / 0.9803 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9529, allocations: 0 / 0.9803 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.9567, allocations: 1.689 MB / 0.982 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.9589, allocations: 435.7 kB / 0.9824 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0489/1.008, allocations: 24.4 MB / 1.006 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.01, allocations: 2.275 MB / 1.008 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003059/1.013, allocations: 0.9187 MB / 1.009 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.015, allocations: 1.276 MB / 1.011 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/1.015, allocations: 0 / 1.011 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4331/1.448, allocations: 63.27 MB / 1.072 GB, free: 301.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.01, allocations: 7.953 kB / 1.072 GB, free: 301.1 MB / 0.8262 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.87041632598266] Failed to read output from testmodel.py, exit status != 0: 18.31223535502795 18.334200508 17.597985137 Calling exit ...