Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",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.004554/0.004554, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001093/0.001093, allocations: 194.6 kB / 16.68 MB, free: 5.965 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.266/1.266, 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.7739/0.7739, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 70.09 kB / 0.5857 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1268, allocations: 81.02 MB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009052/0.1359, allocations: 6.956 MB / 0.6716 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4067/0.5426, allocations: 155.7 MB / 0.8237 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.5433, allocations: 28.59 kB / 0.8237 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006587/0.544, allocations: 287 kB / 0.824 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5456, allocations: 0.7054 MB / 0.8247 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.5479, allocations: 1.295 MB / 0.826 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003807/0.5517, allocations: 4.563 MB / 0.8304 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.5546, allocations: 2.863 MB / 0.8332 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.5569, allocations: 1.741 MB / 0.8349 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5587, allocations: 1.777 MB / 0.8366 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004334/0.5591, allocations: 467.9 kB / 0.8371 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.5606, allocations: 1.064 MB / 0.8381 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.5615, allocations: 0.9914 MB / 0.8391 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.5631, allocations: 1.876 MB / 0.8409 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.5682, allocations: 5.546 MB / 0.8463 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5682, allocations: 3.938 kB / 0.8464 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5683, allocations: 4 kB / 0.8464 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.921e-05/0.5683, allocations: 0 / 0.8464 GB, free: 3.953 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.006809/0.5751, allocations: 3.963 MB / 0.8502 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5752, allocations: 9.109 kB / 0.8502 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005211/0.5757, allocations: 425.5 kB / 0.8506 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00881/0.5845, allocations: 1.297 MB / 0.8519 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.5877, allocations: 2.149 MB / 0.854 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.5879, allocations: 230 kB / 0.8542 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.5883, allocations: 288 kB / 0.8545 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00829/0.5966, allocations: 4.464 MB / 0.8589 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.5967, allocations: 0 / 0.8589 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.597, allocations: 128 kB / 0.859 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.5971, allocations: 72 kB / 0.8591 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.6077, allocations: 4.878 MB / 0.8638 GB, free: 2.461 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.02012/0.6279, allocations: 14.04 MB / 0.8775 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.6382, allocations: 4.042 MB / 0.8815 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.6419, allocations: 1.673 MB / 0.8831 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.6431, allocations: 1.081 MB / 0.8842 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004255/0.6474, allocations: 2.031 MB / 0.8861 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.166e-06/0.6474, allocations: 4 kB / 0.8862 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01302/0.6604, allocations: 5.235 MB / 0.8913 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.6606, allocations: 209.9 kB / 0.8915 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.663, allocations: 1.924 MB / 0.8933 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.6632, allocations: 65.7 kB / 0.8934 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/0.6642, allocations: 1.207 MB / 0.8946 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/0.6649, allocations: 0.7553 MB / 0.8953 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008728/0.6658, allocations: 0.5033 MB / 0.8958 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6659, allocations: 301.1 kB / 0.8961 GB, free: 280 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.6696, allocations: 1.554 MB / 0.8976 GB, free: 14.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.6737, allocations: 1.866 MB / 0.8994 GB, free: 12.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00771/0.6814, allocations: 3.4 MB / 0.9028 GB, free: 9.277 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6814, allocations: 0 / 0.9028 GB, free: 9.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009312/0.6907, allocations: 3.908 MB / 0.9066 GB, free: 5.355 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6908, allocations: 8.469 kB / 0.9066 GB, free: 5.348 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6908, allocations: 4 kB / 0.9066 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.6914, allocations: 96.77 kB / 0.9067 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.6947, allocations: 0.6902 MB / 0.9074 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.6969, allocations: 1.701 MB / 0.909 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.6997, allocations: 434.1 kB / 0.9094 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.6999, allocations: 123.9 kB / 0.9095 GB, free: 2.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.001365/0.7013, allocations: 0.9206 MB / 0.9104 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/0.7018, allocations: 230.5 kB / 0.9107 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009894/0.7117, allocations: 4.198 MB / 0.9148 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.7117, allocations: 24 kB / 0.9148 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7117, allocations: 0 / 0.9148 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.7117, allocations: 11.95 kB / 0.9148 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.7251, allocations: 7.871 MB / 0.9225 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7252, allocations: 0 / 0.9225 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/0.7279, allocations: 0.5811 MB / 0.9231 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.7284, allocations: 76.78 kB / 0.9231 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.7286, allocations: 67.89 kB / 0.9232 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.7306, allocations: 1.725 MB / 0.9249 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7306, allocations: 0 / 0.9249 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007743/0.7383, allocations: 3.474 MB / 0.9283 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.7395, allocations: 0.7486 MB / 0.929 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/0.7398, allocations: 63.78 kB / 0.9291 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.742, allocations: 275.5 kB / 0.9293 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.7423, allocations: 145.8 kB / 0.9295 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.7425, allocations: 83.94 kB / 0.9295 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00197/0.7445, allocations: 1.478 MB / 0.931 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7445, allocations: 4 kB / 0.931 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001845/0.7463, allocations: 0.8803 MB / 0.9319 GB, free: 10.89 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.009833/0.7562, allocations: 4.615 MB / 0.9364 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007853/0.764, allocations: 3.55 MB / 0.9398 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7641, allocations: 4.062 kB / 0.9398 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003801/0.7679, allocations: 1.798 MB / 0.9416 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.7696, allocations: 432.5 kB / 0.942 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/0.8127, allocations: 24.09 MB / 0.9655 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.8147, allocations: 2.25 MB / 0.9677 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002666/0.8174, allocations: 0.9222 MB / 0.9686 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/0.8195, allocations: 1.249 MB / 0.9698 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8196, allocations: 0 / 0.9698 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3558/1.175, allocations: 60.21 MB / 1.029 GB, free: 7.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.34, allocations: 4 kB / 1.029 GB, free: 7.816 MB / 0.795 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)