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.005593/0.005593, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001253/0.001253, allocations: 197 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9579/0.9579, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.5851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3973, allocations: 80.91 MB / 0.6641 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007608/0.405, allocations: 6.954 MB / 0.6709 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.5748, allocations: 155.7 MB / 0.823 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.5763, allocations: 31.88 kB / 0.823 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.5774, allocations: 285.2 kB / 0.8233 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.5801, allocations: 0.7052 MB / 0.824 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.5833, allocations: 1.288 MB / 0.8253 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005226/0.5885, allocations: 4.571 MB / 0.8297 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/0.5934, allocations: 2.86 MB / 0.8325 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.5967, allocations: 1.772 MB / 0.8342 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.5994, allocations: 1.774 MB / 0.836 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001/0.6005, allocations: 468 kB / 0.8364 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.6028, allocations: 1.066 MB / 0.8375 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.604, allocations: 1.001 MB / 0.8384 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.6067, allocations: 1.866 MB / 0.8403 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/0.6134, allocations: 5.534 MB / 0.8457 GB, free: 7.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6134, allocations: 0 / 0.8457 GB, free: 7.047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6135, allocations: 0 / 0.8457 GB, free: 7.047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001359/0.6136, allocations: 0 / 0.8457 GB, free: 7.047 MB / 0.67 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.009885/0.6235, allocations: 3.865 MB / 0.8494 GB, free: 3.113 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6236, allocations: 12.03 kB / 0.8495 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/0.6249, allocations: 425.6 kB / 0.8499 GB, free: 2.676 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/0.6347, allocations: 1.279 MB / 0.8511 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.6394, allocations: 2.128 MB / 0.8532 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.6396, allocations: 234 kB / 0.8534 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/0.6404, allocations: 288 kB / 0.8537 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.6525, allocations: 4.456 MB / 0.858 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.095e-05/0.6527, allocations: 4 kB / 0.858 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008856/0.6536, allocations: 124 kB / 0.8582 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-05/0.6537, allocations: 80 kB / 0.8582 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.6676, allocations: 4.878 MB / 0.863 GB, free: 5.035 MB / 0.6856 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.3605/1.028, allocations: 14.01 MB / 0.8767 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.039, allocations: 4.042 MB / 0.8806 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/1.043, allocations: 1.663 MB / 0.8822 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/1.044, allocations: 1.079 MB / 0.8833 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004076/1.048, allocations: 2.029 MB / 0.8853 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 3.868e-06/1.048, allocations: 3.938 kB / 0.8853 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01421/1.062, allocations: 5.228 MB / 0.8904 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/1.062, allocations: 203.6 kB / 0.8906 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/1.066, allocations: 1.936 MB / 0.8925 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005514/1.066, allocations: 62.55 kB / 0.8925 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.068, allocations: 1.181 MB / 0.8937 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.069, allocations: 0.7145 MB / 0.8944 GB, free: 171 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.07, allocations: 0.5029 MB / 0.8949 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/1.07, allocations: 302.3 kB / 0.8952 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/1.074, allocations: 1.558 MB / 0.8967 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/1.078, allocations: 1.862 MB / 0.8985 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00764/1.086, allocations: 3.397 MB / 0.9018 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.086, allocations: 1.094 kB / 0.9018 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01017/1.096, allocations: 3.902 MB / 0.9056 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.096, allocations: 8.094 kB / 0.9056 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.096, allocations: 5.688 kB / 0.9056 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/1.097, allocations: 99.3 kB / 0.9057 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.1, allocations: 0.6838 MB / 0.9064 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/1.102, allocations: 1.7 MB / 0.9081 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/1.105, allocations: 433.5 kB / 0.9085 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/1.105, allocations: 121.9 kB / 0.9086 GB, free: 162.2 MB / 0.6856 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.00192/1.107, allocations: 0.924 MB / 0.9095 GB, free: 161.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008366/1.108, allocations: 216.6 kB / 0.9097 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009329/1.118, allocations: 4.193 MB / 0.9138 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.118, allocations: 26.72 kB / 0.9138 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.118, allocations: 3.844 kB / 0.9138 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/1.118, allocations: 15.95 kB / 0.9139 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.13, allocations: 7.852 MB / 0.9215 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.13, allocations: 0 / 0.9215 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/1.133, allocations: 0.5773 MB / 0.9221 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/1.134, allocations: 84.72 kB / 0.9222 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.134, allocations: 67.94 kB / 0.9222 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/1.135, allocations: 1.724 MB / 0.9239 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.135, allocations: 0 / 0.9239 GB, free: 149.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.143, allocations: 3.457 MB / 0.9273 GB, free: 145.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.144, allocations: 0.7474 MB / 0.928 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/1.145, allocations: 67.62 kB / 0.9281 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.147, allocations: 277.8 kB / 0.9283 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.147, allocations: 145.8 kB / 0.9285 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.147, allocations: 79.95 kB / 0.9286 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001679/1.149, allocations: 1.486 MB / 0.93 GB, free: 142.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/1.149, allocations: 0 / 0.93 GB, free: 142.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002194/1.151, allocations: 0.8605 MB / 0.9309 GB, free: 141.9 MB / 0.6856 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.008906/1.16, allocations: 4.592 MB / 0.9353 GB, free: 137.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00769/1.168, allocations: 3.557 MB / 0.9388 GB, free: 134 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.168, allocations: 0 / 0.9388 GB, free: 134 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/1.171, allocations: 1.786 MB / 0.9406 GB, free: 132.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.174, allocations: 461 kB / 0.941 GB, free: 131.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04142/1.215, allocations: 23.98 MB / 0.9644 GB, free: 107.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.217, allocations: 2.25 MB / 0.9666 GB, free: 105.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002822/1.22, allocations: 0.9145 MB / 0.9675 GB, free: 104.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.222, allocations: 1.245 MB / 0.9687 GB, free: 103 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/1.222, allocations: 0 / 0.9687 GB, free: 103 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09564/1.317, allocations: 61.25 MB / 1.029 GB, free: 42.08 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.61, allocations: 2.031 kB / 1.029 GB, free: 42.08 MB / 0.6856 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)