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.008513/0.008514, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002131/0.002131, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8004/0.8004, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 57.31 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 80.93 MB / 0.6641 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009197/0.1579, allocations: 6.948 MB / 0.6709 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5488/0.7068, allocations: 155.7 MB / 0.823 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.7092, allocations: 34.88 kB / 0.823 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.7111, allocations: 291.3 kB / 0.8233 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.7147, allocations: 0.7145 MB / 0.824 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.7183, allocations: 1.299 MB / 0.8253 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005219/0.7235, allocations: 4.566 MB / 0.8297 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00507/0.7286, allocations: 2.877 MB / 0.8325 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.7324, allocations: 1.774 MB / 0.8343 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.7353, allocations: 1.776 MB / 0.836 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.7365, allocations: 465.6 kB / 0.8364 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.7395, allocations: 1.06 MB / 0.8375 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.7411, allocations: 1.001 MB / 0.8384 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.7447, allocations: 1.875 MB / 0.8403 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009979/0.7547, allocations: 5.526 MB / 0.8457 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.7548, allocations: 2.562 kB / 0.8457 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7548, allocations: 0 / 0.8457 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003551/0.7552, allocations: 0 / 0.8457 GB, free: 4.98 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.01643/0.7717, allocations: 3.866 MB / 0.8494 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.7717, allocations: 13.11 kB / 0.8495 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001651/0.7734, allocations: 425.5 kB / 0.8499 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.7835, allocations: 1.28 MB / 0.8511 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.789, allocations: 2.132 MB / 0.8532 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.7893, allocations: 234 kB / 0.8534 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.7905, allocations: 291.9 kB / 0.8537 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.8031, allocations: 4.452 MB / 0.858 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.8032, allocations: 0 / 0.858 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.8042, allocations: 128 kB / 0.8582 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.8043, allocations: 72 kB / 0.8582 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.8178, allocations: 4.885 MB / 0.863 GB, free: 3.617 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.02787/0.8457, allocations: 14.01 MB / 0.8767 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.8578, allocations: 4.037 MB / 0.8806 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004832/0.8627, allocations: 1.674 MB / 0.8823 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.8645, allocations: 1.073 MB / 0.8833 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00588/0.8704, allocations: 2.031 MB / 0.8853 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 6.361e-06/0.8704, allocations: 0 / 0.8853 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01587/0.8863, allocations: 5.222 MB / 0.8904 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.8865, allocations: 209.9 kB / 0.8906 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.8908, allocations: 1.928 MB / 0.8925 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007021/0.8915, allocations: 65.7 kB / 0.8925 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.8934, allocations: 1.176 MB / 0.8937 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/0.8953, allocations: 0.7123 MB / 0.8944 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002597/0.8979, allocations: 0.5108 MB / 0.8949 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.898, allocations: 301.1 kB / 0.8952 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/0.9024, allocations: 1.55 MB / 0.8967 GB, free: 15.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/0.9069, allocations: 1.874 MB / 0.8985 GB, free: 14.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008749/0.9157, allocations: 3.388 MB / 0.9018 GB, free: 10.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.9158, allocations: 0 / 0.9018 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01156/0.9274, allocations: 3.904 MB / 0.9056 GB, free: 6.633 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.9274, allocations: 8 kB / 0.9056 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.9275, allocations: 11.98 kB / 0.9057 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.9281, allocations: 93.03 kB / 0.9057 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.9319, allocations: 0.6863 MB / 0.9064 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.9341, allocations: 1.712 MB / 0.9081 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.9379, allocations: 417.6 kB / 0.9085 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/0.9386, allocations: 127.8 kB / 0.9086 GB, free: 3.441 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.002538/0.9411, allocations: 0.9244 MB / 0.9095 GB, free: 2.508 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.9422, allocations: 213.4 kB / 0.9097 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.9543, allocations: 4.195 MB / 0.9138 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/0.9544, allocations: 24 kB / 0.9138 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.9544, allocations: 3.984 kB / 0.9138 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.451e-05/0.9545, allocations: 11.95 kB / 0.9139 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.9723, allocations: 7.855 MB / 0.9215 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.9723, allocations: 0 / 0.9215 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/0.9756, allocations: 0.5772 MB / 0.9221 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.9761, allocations: 84.78 kB / 0.9222 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004186/0.9765, allocations: 71.83 kB / 0.9222 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.9787, allocations: 1.724 MB / 0.9239 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9787, allocations: 3.938 kB / 0.9239 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009225/0.9879, allocations: 3.461 MB / 0.9273 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/0.99, allocations: 0.7358 MB / 0.928 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/0.9908, allocations: 67.69 kB / 0.9281 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/0.9935, allocations: 277.4 kB / 0.9284 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/0.9939, allocations: 145.8 kB / 0.9285 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/0.9941, allocations: 83.94 kB / 0.9286 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003045/0.9972, allocations: 1.478 MB / 0.93 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9972, allocations: 3.938 kB / 0.93 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003359/1.001, allocations: 0.8644 MB / 0.9309 GB, free: 12.23 MB / 0.7012 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.01093/1.012, allocations: 4.605 MB / 0.9354 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008755/1.02, allocations: 3.553 MB / 0.9388 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.02, allocations: 3.938 kB / 0.9388 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/1.025, allocations: 1.786 MB / 0.9406 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/1.028, allocations: 443.2 kB / 0.941 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05432/1.082, allocations: 23.97 MB / 0.9644 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/1.085, allocations: 2.242 MB / 0.9666 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004048/1.089, allocations: 0.9184 MB / 0.9675 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003208/1.092, allocations: 1.249 MB / 0.9687 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.092, allocations: 3.938 kB / 0.9687 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.205, allocations: 60.2 MB / 1.028 GB, free: 9.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.56, allocations: 3.5 kB / 1.028 GB, free: 9.27 MB / 0.795 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)