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.001247/0.001251, 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.00135/0.00135, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8325/0.8325, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 64.23 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1286, allocations: 80.92 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007721/0.1363, allocations: 6.945 MB / 0.5912 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3563/0.4927, allocations: 155.7 MB / 0.7433 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.4934, allocations: 33.81 kB / 0.7434 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.494, allocations: 287.2 kB / 0.7436 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.4955, allocations: 0.7073 MB / 0.7443 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.4978, allocations: 1.279 MB / 0.7456 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003364/0.5012, allocations: 4.539 MB / 0.75 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.5038, allocations: 2.865 MB / 0.7528 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.5061, allocations: 1.734 MB / 0.7545 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.5076, allocations: 1.774 MB / 0.7562 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.5081, allocations: 464 kB / 0.7567 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5096, allocations: 1.038 MB / 0.7577 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.5103, allocations: 0.9893 MB / 0.7586 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.5119, allocations: 1.886 MB / 0.7605 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004187/0.5161, allocations: 5.38 MB / 0.7657 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.5161, allocations: 0 / 0.7657 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5161, allocations: 0 / 0.7657 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.309e-05/0.5161, allocations: 0 / 0.7657 GB, free: 3.137 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.00588/0.522, allocations: 3.872 MB / 0.7695 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.5221, allocations: 8.031 kB / 0.7695 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004353/0.5225, allocations: 425.5 kB / 0.7699 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008428/0.5309, allocations: 1.283 MB / 0.7712 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.5335, allocations: 2.093 MB / 0.7732 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.5336, allocations: 234 kB / 0.7735 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.534, allocations: 296 kB / 0.7737 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007087/0.5411, allocations: 4.452 MB / 0.7781 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.5412, allocations: 4 kB / 0.7781 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.5415, allocations: 124 kB / 0.7782 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.5415, allocations: 72 kB / 0.7783 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009286/0.5508, allocations: 4.885 MB / 0.783 GB, free: 1.152 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.01767/0.5685, allocations: 14.13 MB / 0.7968 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009315/0.5778, allocations: 4.031 MB / 0.8008 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.5811, allocations: 1.67 MB / 0.8024 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/0.582, allocations: 1.081 MB / 0.8035 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003752/0.5858, allocations: 2.027 MB / 0.8055 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 3.347e-06/0.5858, allocations: 0 / 0.8055 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.0118/0.5976, allocations: 5.222 MB / 0.8106 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.5977, allocations: 213.9 kB / 0.8108 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.5999, allocations: 1.928 MB / 0.8126 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.6001, allocations: 65.7 kB / 0.8127 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/0.6009, allocations: 1.172 MB / 0.8138 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.6014, allocations: 0.7205 MB / 0.8145 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007691/0.6022, allocations: 0.4991 MB / 0.815 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.6023, allocations: 305.1 kB / 0.8153 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/0.6056, allocations: 1.55 MB / 0.8168 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.6092, allocations: 1.882 MB / 0.8187 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006959/0.6162, allocations: 3.391 MB / 0.822 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6162, allocations: 4 kB / 0.822 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.00844/0.6246, allocations: 3.896 MB / 0.8258 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6247, allocations: 8 kB / 0.8258 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6247, allocations: 4 kB / 0.8258 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.6252, allocations: 101.2 kB / 0.8259 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/0.6284, allocations: 0.6824 MB / 0.8266 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.6302, allocations: 1.708 MB / 0.8282 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.6329, allocations: 425.7 kB / 0.8286 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.6331, allocations: 123.8 kB / 0.8288 GB, free: 0.8711 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.001186/0.6343, allocations: 0.9245 MB / 0.8297 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.6348, allocations: 213.3 kB / 0.8299 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009111/0.6439, allocations: 4.206 MB / 0.834 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.6439, allocations: 24 kB / 0.834 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6439, allocations: 0 / 0.834 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.6439, allocations: 11.95 kB / 0.834 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.656, allocations: 7.909 MB / 0.8417 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.656, allocations: 0 / 0.8417 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002722/0.6587, allocations: 0.5772 MB / 0.8423 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.6592, allocations: 84.78 kB / 0.8424 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.6593, allocations: 63.89 kB / 0.8424 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.661, allocations: 1.717 MB / 0.8441 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.661, allocations: 5.578 kB / 0.8441 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/0.6681, allocations: 3.461 MB / 0.8475 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/0.6691, allocations: 0.7435 MB / 0.8482 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.6695, allocations: 59.69 kB / 0.8483 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/0.6717, allocations: 277.3 kB / 0.8486 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.6719, allocations: 149.8 kB / 0.8487 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6721, allocations: 83.94 kB / 0.8488 GB, free: 11.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001726/0.6738, allocations: 1.478 MB / 0.8502 GB, free: 10.49 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6738, allocations: 0 / 0.8502 GB, free: 10.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001846/0.6757, allocations: 0.8606 MB / 0.8511 GB, free: 9.625 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.008476/0.6842, allocations: 4.601 MB / 0.8556 GB, free: 5.199 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2087/0.8929, allocations: 5.891 MB / 0.8613 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.8929, allocations: 2.188 kB / 0.8613 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.8962, allocations: 1.794 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.001805/0.898, allocations: 440.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.03433/0.9323, 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.00151/0.9339, allocations: 2.25 MB / 0.8911 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002934/0.9368, allocations: 0.9208 MB / 0.892 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/0.9385, allocations: 1.243 MB / 0.8932 GB, free: 202.2 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.9385, allocations: 0 / 0.8932 GB, free: 202.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.808/2.747, allocations: 59.45 MB / 0.9513 GB, free: 170.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/16.4, allocations: 10.17 kB / 0.9513 GB, free: 170.1 MB / 0.67 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)