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.005869/0.005869, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001246/0.001246, allocations: 197.4 kB / 16.68 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.48 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 80.2 MB / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.008457/0.1477, allocations: 6.954 MB / 0.6659 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5056/0.6533, allocations: 155.7 MB / 0.818 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.6545, allocations: 33.66 kB / 0.818 GB, free: 9.496 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.0009036/0.6554, allocations: 287.8 kB / 0.8183 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.6575, allocations: 0.7052 MB / 0.819 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.6604, allocations: 1.292 MB / 0.8203 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00455/0.665, allocations: 4.561 MB / 0.8247 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.6677, allocations: 2.689 MB / 0.8273 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.6704, allocations: 1.792 MB / 0.8291 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.6724, allocations: 1.783 MB / 0.8308 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004916/0.6729, allocations: 467.6 kB / 0.8313 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.6746, allocations: 1.06 MB / 0.8323 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.6753, allocations: 0.9954 MB / 0.8333 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.6771, allocations: 1.891 MB / 0.8351 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005409/0.6826, allocations: 5.568 MB / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6826, allocations: 0 / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6826, allocations: 0 / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001562/0.6828, allocations: 0 / 0.8406 GB, free: 10.73 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.00783/0.6906, allocations: 3.903 MB / 0.8444 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6906, allocations: 10.31 kB / 0.8444 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004866/0.6911, allocations: 426.3 kB / 0.8448 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008814/0.7, allocations: 1.284 MB / 0.846 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/0.7041, allocations: 2.168 MB / 0.8482 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.7043, allocations: 234 kB / 0.8484 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006598/0.705, allocations: 288 kB / 0.8487 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009057/0.714, allocations: 4.452 MB / 0.853 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/0.7141, allocations: 7.938 kB / 0.853 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/0.7145, allocations: 124 kB / 0.8531 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.7145, allocations: 76 kB / 0.8532 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.7252, allocations: 4.901 MB / 0.858 GB, free: 10.42 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.02245/0.7477, allocations: 14.04 MB / 0.8717 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.7582, allocations: 4.033 MB / 0.8756 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.7619, allocations: 1.673 MB / 0.8773 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.7631, allocations: 1.073 MB / 0.8783 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004568/0.7677, allocations: 2.031 MB / 0.8803 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 4.478e-06/0.7677, allocations: 0 / 0.8803 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01326/0.781, allocations: 5.23 MB / 0.8854 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7811, allocations: 205.9 kB / 0.8856 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.7842, allocations: 1.981 MB / 0.8875 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.7844, allocations: 61.7 kB / 0.8876 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.7855, allocations: 1.192 MB / 0.8888 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006705/0.7861, allocations: 0.7201 MB / 0.8895 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009349/0.7871, allocations: 0.4991 MB / 0.89 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.7872, allocations: 313 kB / 0.8903 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.7909, allocations: 1.554 MB / 0.8918 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.7949, allocations: 1.862 MB / 0.8936 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/0.8025, allocations: 3.396 MB / 0.8969 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.8025, allocations: 0 / 0.8969 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01033/0.8128, allocations: 3.906 MB / 0.9007 GB, free: 13.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.8129, allocations: 4 kB / 0.9007 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.8129, allocations: 8 kB / 0.9007 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.8135, allocations: 101.2 kB / 0.9008 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003425/0.817, allocations: 0.6864 MB / 0.9015 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.819, allocations: 1.699 MB / 0.9032 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.8222, allocations: 427.2 kB / 0.9036 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.8225, allocations: 123.9 kB / 0.9037 GB, free: 10.16 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.001797/0.8243, allocations: 0.9361 MB / 0.9046 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/0.825, allocations: 221.3 kB / 0.9048 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009854/0.8349, allocations: 4.206 MB / 0.9089 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.8349, allocations: 28 kB / 0.9089 GB, free: 4.742 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.835, allocations: 0 / 0.9089 GB, free: 4.742 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.835, allocations: 11.95 kB / 0.909 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.8488, allocations: 7.867 MB / 0.9166 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8489, allocations: 0 / 0.9166 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/0.8517, allocations: 0.5772 MB / 0.9172 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/0.8522, allocations: 80.78 kB / 0.9173 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.8524, allocations: 67.89 kB / 0.9173 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.8543, allocations: 1.72 MB / 0.919 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8543, allocations: 4.062 kB / 0.919 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008083/0.8624, allocations: 3.469 MB / 0.9224 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.8641, allocations: 0.7435 MB / 0.9231 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/0.8647, allocations: 63.62 kB / 0.9232 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/0.8675, allocations: 275.6 kB / 0.9235 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.8679, allocations: 145.8 kB / 0.9236 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002446/0.8681, allocations: 83.94 kB / 0.9237 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002976/0.8711, allocations: 1.515 MB / 0.9252 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8711, allocations: 0 / 0.9252 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002924/0.874, allocations: 0.8644 MB / 0.926 GB, free: 2.879 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.009985/0.884, allocations: 4.602 MB / 0.9305 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008173/0.8922, allocations: 3.552 MB / 0.934 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8923, allocations: 0 / 0.934 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/0.8959, allocations: 1.794 MB / 0.9357 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.898, allocations: 448.5 kB / 0.9362 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/0.9448, allocations: 24.17 MB / 0.9598 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.9469, allocations: 2.273 MB / 0.962 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003348/0.9503, allocations: 0.934 MB / 0.9629 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002327/0.9527, allocations: 1.265 MB / 0.9641 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.9527, allocations: 0 / 0.9641 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09632/1.049, allocations: 61.72 MB / 1.024 GB, free: 14.15 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.35, allocations: 3.125 kB / 1.024 GB, free: 14.15 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)