Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_dev_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.001004/0.001004, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001055, allocations: 198 kB / 16.54 MB, free: 6.672 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 68.83 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1273, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007361/0.1346, allocations: 6.952 MB / 0.5913 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3541/0.4887, allocations: 155.7 MB / 0.7433 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.4895, allocations: 34.75 kB / 0.7434 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.4902, allocations: 286.8 kB / 0.7436 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.4918, allocations: 0.7082 MB / 0.7443 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.494, allocations: 1.285 MB / 0.7456 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.4974, allocations: 4.534 MB / 0.75 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.5001, allocations: 2.865 MB / 0.7528 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.5025, allocations: 1.731 MB / 0.7545 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.5041, allocations: 1.774 MB / 0.7562 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005258/0.5046, allocations: 468 kB / 0.7567 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.5062, allocations: 1.038 MB / 0.7577 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.5069, allocations: 0.9932 MB / 0.7586 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.5085, allocations: 1.874 MB / 0.7605 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.5128, allocations: 5.388 MB / 0.7657 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5128, allocations: 4 kB / 0.7657 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5128, allocations: 0 / 0.7657 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.494e-05/0.5128, allocations: 0 / 0.7657 GB, free: 3.184 MB / 0.5762 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.006122/0.519, allocations: 3.869 MB / 0.7695 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.519, allocations: 8.031 kB / 0.7695 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004317/0.5195, allocations: 429.5 kB / 0.7699 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008618/0.5281, allocations: 1.279 MB / 0.7712 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.5307, allocations: 2.097 MB / 0.7732 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.5308, allocations: 226 kB / 0.7735 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.5312, allocations: 296 kB / 0.7737 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/0.5384, allocations: 4.456 MB / 0.7781 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.5385, allocations: 4 kB / 0.7781 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.5387, allocations: 120 kB / 0.7782 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.5388, allocations: 76 kB / 0.7783 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009304/0.5481, allocations: 4.885 MB / 0.783 GB, free: 1.203 MB / 0.5919 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.01693/0.565, allocations: 14.13 MB / 0.7968 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0092/0.5743, allocations: 4.043 MB / 0.8008 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/0.5775, allocations: 1.662 MB / 0.8024 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009551/0.5784, allocations: 1.077 MB / 0.8035 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003707/0.5821, allocations: 2.031 MB / 0.8055 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 3.246e-06/0.5822, allocations: 0 / 0.8055 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.01174/0.5939, allocations: 5.226 MB / 0.8106 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.594, allocations: 205.9 kB / 0.8108 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.5961, allocations: 1.932 MB / 0.8126 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.5963, allocations: 61.7 kB / 0.8127 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000771/0.5971, allocations: 1.18 MB / 0.8138 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.5976, allocations: 0.7123 MB / 0.8145 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/0.5984, allocations: 0.4991 MB / 0.815 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.5985, allocations: 301.1 kB / 0.8153 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/0.6019, allocations: 1.558 MB / 0.8168 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.6055, allocations: 1.882 MB / 0.8187 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.6125, allocations: 3.392 MB / 0.822 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6125, allocations: 4 kB / 0.822 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008469/0.621, allocations: 3.898 MB / 0.8258 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.621, allocations: 8 kB / 0.8258 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.621, allocations: 4 kB / 0.8258 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005497/0.6216, allocations: 97.25 kB / 0.8259 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.6247, allocations: 0.6902 MB / 0.8266 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6266, allocations: 1.7 MB / 0.8282 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.6293, allocations: 425.6 kB / 0.8286 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.6295, allocations: 119.9 kB / 0.8288 GB, free: 0.9336 MB / 0.6387 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.001151/0.6307, allocations: 0.9205 MB / 0.8297 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.6311, allocations: 217.3 kB / 0.8299 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009221/0.6404, allocations: 4.219 MB / 0.834 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.6404, allocations: 24 kB / 0.834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6404, allocations: 0 / 0.834 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.6404, allocations: 11.95 kB / 0.834 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6525, allocations: 7.906 MB / 0.8417 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.6525, allocations: 0 / 0.8417 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/0.6552, allocations: 0.5772 MB / 0.8423 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.6556, allocations: 80.8 kB / 0.8424 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.6558, allocations: 71.88 kB / 0.8425 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6575, allocations: 1.709 MB / 0.8441 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6575, allocations: 0 / 0.8441 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/0.6646, allocations: 3.469 MB / 0.8475 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/0.6656, allocations: 0.7357 MB / 0.8482 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/0.666, allocations: 67.67 kB / 0.8483 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.6682, allocations: 275.6 kB / 0.8486 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.6684, allocations: 149.9 kB / 0.8487 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.6686, allocations: 83.94 kB / 0.8488 GB, free: 12.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001709/0.6703, allocations: 1.486 MB / 0.8502 GB, free: 10.53 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6704, allocations: 4 kB / 0.8502 GB, free: 10.53 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001711/0.6721, allocations: 0.8567 MB / 0.8511 GB, free: 9.668 MB / 0.67 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.008597/0.6807, allocations: 4.591 MB / 0.8556 GB, free: 5.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2118/0.8924, allocations: 5.893 MB / 0.8613 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.8925, allocations: 0 / 0.8613 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003249/0.8957, allocations: 1.798 MB / 0.8631 GB, free: 216.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.8975, allocations: 444.3 kB / 0.8635 GB, free: 216.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/0.9318, allocations: 26.04 MB / 0.8889 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.9333, allocations: 2.247 MB / 0.8911 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002954/0.9363, allocations: 0.9256 MB / 0.892 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/0.9379, allocations: 1.245 MB / 0.8932 GB, free: 202.3 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/0.9379, allocations: 0 / 0.8932 GB, free: 202.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.98/2.918, allocations: 59.44 MB / 0.9513 GB, free: 170.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/19.76, allocations: 6.719 kB / 0.9513 GB, free: 170.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1)