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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005126/0.005126, allocations: 100.5 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 190.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7595/0.7595, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 65.98 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1317, allocations: 80.2 MB / 0.6591 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008804/0.1405, allocations: 6.958 MB / 0.6659 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4362/0.5767, allocations: 155.7 MB / 0.818 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.5775, allocations: 36.34 kB / 0.818 GB, free: 9.445 MB / 0.5919 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.0007056/0.5782, allocations: 284.4 kB / 0.8183 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.5798, allocations: 0.705 MB / 0.819 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.5822, allocations: 1.283 MB / 0.8203 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.586, allocations: 4.57 MB / 0.8247 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.5888, allocations: 2.692 MB / 0.8274 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.5913, allocations: 1.752 MB / 0.8291 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.593, allocations: 1.793 MB / 0.8308 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.5934, allocations: 464.7 kB / 0.8313 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5951, allocations: 1.063 MB / 0.8323 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008172/0.5959, allocations: 0.9873 MB / 0.8333 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.5977, allocations: 1.894 MB / 0.8351 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.6028, allocations: 5.579 MB / 0.8406 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6028, allocations: 0 / 0.8406 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6028, allocations: 1.938 kB / 0.8406 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.484e-05/0.6029, allocations: 0 / 0.8406 GB, free: 10.7 MB / 0.6075 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.006682/0.6096, allocations: 4.003 MB / 0.8445 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6096, allocations: 10.19 kB / 0.8445 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004907/0.6101, allocations: 427.9 kB / 0.8449 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008663/0.6188, allocations: 1.306 MB / 0.8462 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.6219, allocations: 2.185 MB / 0.8483 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.622, allocations: 234 kB / 0.8485 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.6225, allocations: 292 kB / 0.8488 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/0.6309, allocations: 4.452 MB / 0.8531 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.6309, allocations: 4 kB / 0.8531 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.6312, allocations: 124 kB / 0.8533 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.6313, allocations: 72 kB / 0.8533 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.6418, allocations: 4.913 MB / 0.8581 GB, free: 10.25 MB / 0.6231 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.01966/0.6615, allocations: 14.05 MB / 0.8719 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6717, allocations: 4.038 MB / 0.8758 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/0.6754, allocations: 1.67 MB / 0.8774 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.6766, allocations: 1.081 MB / 0.8785 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004294/0.6809, allocations: 2.031 MB / 0.8805 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.877e-06/0.6809, allocations: 0 / 0.8805 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01298/0.6939, allocations: 5.239 MB / 0.8856 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.694, allocations: 209.9 kB / 0.8858 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.697, allocations: 1.97 MB / 0.8877 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.6972, allocations: 65.64 kB / 0.8878 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.6982, allocations: 1.23 MB / 0.889 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006599/0.6989, allocations: 0.7475 MB / 0.8897 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008863/0.6997, allocations: 0.5033 MB / 0.8902 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6999, allocations: 309.1 kB / 0.8905 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.7036, allocations: 1.55 MB / 0.892 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/0.7076, allocations: 1.87 MB / 0.8938 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007756/0.7154, allocations: 3.392 MB / 0.8971 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.7154, allocations: 4 kB / 0.8971 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009319/0.7247, allocations: 3.915 MB / 0.901 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7248, allocations: 8 kB / 0.901 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7248, allocations: 4 kB / 0.901 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.7254, allocations: 101.2 kB / 0.9011 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.7287, allocations: 0.6863 MB / 0.9017 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.731, allocations: 1.694 MB / 0.9034 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.7339, allocations: 436 kB / 0.9038 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.7341, allocations: 119.9 kB / 0.9039 GB, free: 9.902 MB / 0.67 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.001416/0.7356, allocations: 0.944 MB / 0.9048 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.7361, allocations: 230.6 kB / 0.9051 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009992/0.7461, allocations: 4.21 MB / 0.9092 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.7461, allocations: 24 kB / 0.9092 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7461, allocations: 0 / 0.9092 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.7461, allocations: 11.95 kB / 0.9092 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.7599, allocations: 7.876 MB / 0.9169 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7599, allocations: 3.938 kB / 0.9169 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/0.7627, allocations: 0.5772 MB / 0.9175 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/0.7631, allocations: 80.78 kB / 0.9176 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.7633, allocations: 67.89 kB / 0.9176 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.7653, allocations: 1.713 MB / 0.9193 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7653, allocations: 64 / 0.9193 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/0.7735, allocations: 3.482 MB / 0.9227 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.7747, allocations: 0.7641 MB / 0.9234 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/0.7751, allocations: 63.78 kB / 0.9235 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/0.7773, allocations: 271.6 kB / 0.9238 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.7776, allocations: 153.7 kB / 0.9239 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.7779, allocations: 83.94 kB / 0.924 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002157/0.78, allocations: 1.511 MB / 0.9255 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.78, allocations: 0 / 0.9255 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002121/0.7822, allocations: 0.8726 MB / 0.9263 GB, free: 2.559 MB / 0.6856 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.01024/0.7924, allocations: 4.615 MB / 0.9308 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008066/0.8005, allocations: 3.557 MB / 0.9343 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8005, allocations: 4 kB / 0.9343 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.8043, allocations: 1.802 MB / 0.9361 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.8061, allocations: 447.8 kB / 0.9365 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/0.8517, allocations: 24.28 MB / 0.9602 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/0.8538, allocations: 2.277 MB / 0.9624 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002793/0.8566, allocations: 0.934 MB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/0.8588, allocations: 1.265 MB / 0.9646 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.8588, allocations: 0 / 0.9646 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5786/1.437, allocations: 60.66 MB / 1.024 GB, free: 14.76 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.75, allocations: 3.984 kB / 1.024 GB, free: 14.75 MB / 0.795 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)