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.007975/0.007975, allocations: 102 kB / 15.73 MB, free: 6.051 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.001383/0.001383, allocations: 191.5 kB / 16.67 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.354/1.354, 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-master/package.mo): time 0.8018/0.8018, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 62.69 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1759, allocations: 80.92 MB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008975/0.185, allocations: 6.948 MB / 0.6709 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5706/0.7556, allocations: 155.7 MB / 0.823 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7573, allocations: 28.97 kB / 0.823 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.7582, allocations: 295.4 kB / 0.8233 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.7606, allocations: 0.7271 MB / 0.824 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.7634, allocations: 1.295 MB / 0.8253 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.7676, allocations: 4.561 MB / 0.8297 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.7709, allocations: 2.871 MB / 0.8325 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.7741, allocations: 1.768 MB / 0.8343 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.7761, allocations: 1.779 MB / 0.836 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.7767, allocations: 471.3 kB / 0.8364 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.7789, allocations: 1.067 MB / 0.8375 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008668/0.7798, allocations: 0.985 MB / 0.8384 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.7822, allocations: 1.879 MB / 0.8403 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007792/0.79, allocations: 5.521 MB / 0.8457 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.79, allocations: 0 / 0.8457 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.454e-06/0.79, allocations: 0 / 0.8457 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001872/0.7902, allocations: 0 / 0.8457 GB, free: 4.977 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.008924/0.7992, allocations: 3.876 MB / 0.8495 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7992, allocations: 9.109 kB / 0.8495 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005814/0.7998, allocations: 425.5 kB / 0.8499 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00879/0.8086, allocations: 1.28 MB / 0.8511 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.8125, allocations: 2.136 MB / 0.8532 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.8127, allocations: 237.9 kB / 0.8534 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/0.8133, allocations: 292 kB / 0.8537 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008619/0.8219, allocations: 4.452 MB / 0.8581 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.822, allocations: 3.938 kB / 0.8581 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.8223, allocations: 128 kB / 0.8582 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.8223, allocations: 72 kB / 0.8583 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.8326, allocations: 4.878 MB / 0.863 GB, free: 3.621 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.02332/0.8559, allocations: 14.02 MB / 0.8767 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.866, allocations: 4.033 MB / 0.8806 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/0.8697, allocations: 1.662 MB / 0.8823 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.8709, allocations: 1.077 MB / 0.8833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004272/0.8752, allocations: 2.031 MB / 0.8853 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 3.937e-06/0.8752, allocations: 0 / 0.8853 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01312/0.8884, allocations: 5.23 MB / 0.8904 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.8885, allocations: 201.9 kB / 0.8906 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.8913, allocations: 1.932 MB / 0.8925 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.8916, allocations: 65.7 kB / 0.8926 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.8926, allocations: 1.18 MB / 0.8937 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/0.8934, allocations: 0.7162 MB / 0.8944 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/0.8943, allocations: 0.4991 MB / 0.8949 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8944, allocations: 305.1 kB / 0.8952 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.8979, allocations: 1.558 MB / 0.8967 GB, free: 15.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/0.9019, allocations: 1.866 MB / 0.8985 GB, free: 14.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007626/0.9096, allocations: 3.392 MB / 0.9018 GB, free: 10.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.9096, allocations: 0 / 0.9018 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009845/0.9195, allocations: 3.907 MB / 0.9057 GB, free: 6.633 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.9195, allocations: 11.94 kB / 0.9057 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.9195, allocations: 4 kB / 0.9057 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.9202, allocations: 97.23 kB / 0.9058 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/0.9239, allocations: 0.6863 MB / 0.9064 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.9263, allocations: 1.701 MB / 0.9081 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.9299, allocations: 431.5 kB / 0.9085 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.9303, allocations: 115.9 kB / 0.9086 GB, free: 3.453 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.002041/0.9324, allocations: 0.9257 MB / 0.9095 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.933, allocations: 213.3 kB / 0.9097 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.9431, allocations: 4.202 MB / 0.9138 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.9432, allocations: 32 kB / 0.9139 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9432, allocations: 0 / 0.9139 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/0.9433, allocations: 11.95 kB / 0.9139 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.96, allocations: 7.862 MB / 0.9215 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.96, allocations: 3.984 kB / 0.9216 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/0.9631, allocations: 0.5734 MB / 0.9221 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.9635, allocations: 92.66 kB / 0.9222 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.9638, allocations: 63.89 kB / 0.9223 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.9657, allocations: 1.717 MB / 0.9239 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9657, allocations: 0 / 0.9239 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007732/0.9734, allocations: 3.464 MB / 0.9273 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.9749, allocations: 0.736 MB / 0.928 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/0.9753, allocations: 67.67 kB / 0.9281 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.9776, allocations: 271.6 kB / 0.9284 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.978, allocations: 149.8 kB / 0.9285 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/0.9782, allocations: 88 kB / 0.9286 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002293/0.9805, allocations: 1.478 MB / 0.93 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9805, allocations: 0 / 0.93 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002663/0.9832, 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.009804/0.993, allocations: 4.599 MB / 0.9354 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008067/1.001, allocations: 3.549 MB / 0.9388 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.001, allocations: 0 / 0.9388 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/1.005, allocations: 1.798 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.001971/1.007, allocations: 441.4 kB / 0.941 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/1.056, allocations: 23.97 MB / 0.9644 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/1.059, allocations: 2.246 MB / 0.9666 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003578/1.063, allocations: 0.9145 MB / 0.9675 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/1.065, allocations: 1.253 MB / 0.9687 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of SimCode: time 1.433e-06/1.065, allocations: 0 / 0.9687 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.167, allocations: 60.2 MB / 1.028 GB, free: 9.297 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.41, allocations: 0 / 1.028 GB, free: 9.297 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)