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.008433/0.008433, allocations: 99.31 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.001772/0.001772, allocations: 188.9 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9485/0.9485, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 80.91 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.006799/0.3963, allocations: 6.957 MB / 0.6709 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.5595, allocations: 155.7 MB / 0.823 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.5609, allocations: 31.88 kB / 0.823 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009461/0.5618, allocations: 285.2 kB / 0.8233 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.5643, allocations: 0.7047 MB / 0.824 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.5673, allocations: 1.292 MB / 0.8252 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005306/0.5726, allocations: 4.567 MB / 0.8297 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/0.5767, allocations: 2.868 MB / 0.8325 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.5801, allocations: 1.769 MB / 0.8342 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.5825, allocations: 1.774 MB / 0.836 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.5837, allocations: 468 kB / 0.8364 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.5863, allocations: 1.062 MB / 0.8375 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.5876, allocations: 0.9931 MB / 0.8384 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.5905, allocations: 1.874 MB / 0.8403 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.5968, allocations: 5.534 MB / 0.8457 GB, free: 6.977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5968, allocations: 3.938 kB / 0.8457 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5969, allocations: 0 / 0.8457 GB, free: 6.973 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001552/0.597, allocations: 0 / 0.8457 GB, free: 6.973 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.009506/0.6065, allocations: 3.861 MB / 0.8494 GB, free: 3.043 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6066, allocations: 12.03 kB / 0.8494 GB, free: 3.031 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.6076, allocations: 425.6 kB / 0.8498 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009431/0.617, allocations: 1.287 MB / 0.8511 GB, free: 1.312 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.6215, allocations: 2.124 MB / 0.8532 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.6217, allocations: 226 kB / 0.8534 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.6225, allocations: 288 kB / 0.8537 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.6332, allocations: 4.464 MB / 0.858 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.132e-05/0.6333, allocations: 0 / 0.858 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005979/0.6339, allocations: 124 kB / 0.8581 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.634, allocations: 76 kB / 0.8582 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.6458, allocations: 4.882 MB / 0.863 GB, free: 4.961 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.3534/0.9993, allocations: 14.01 MB / 0.8767 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/1.01, allocations: 4.041 MB / 0.8806 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/1.014, allocations: 1.669 MB / 0.8822 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009631/1.015, allocations: 1.074 MB / 0.8833 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00437/1.02, allocations: 2.03 MB / 0.8853 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 4.399e-06/1.02, allocations: 3.938 kB / 0.8853 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01277/1.032, allocations: 5.224 MB / 0.8904 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/1.033, allocations: 206.9 kB / 0.8906 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/1.035, allocations: 1.931 MB / 0.8925 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.036, allocations: 62.92 kB / 0.8925 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/1.036, allocations: 1.179 MB / 0.8937 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/1.037, allocations: 0.729 MB / 0.8944 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008113/1.038, allocations: 0.5011 MB / 0.8949 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/1.038, allocations: 303.3 kB / 0.8952 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/1.041, allocations: 1.55 MB / 0.8967 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/1.045, allocations: 1.866 MB / 0.8985 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007718/1.053, allocations: 3.394 MB / 0.9018 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.053, allocations: 1.375 kB / 0.9018 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01007/1.063, allocations: 3.9 MB / 0.9056 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.063, allocations: 7.531 kB / 0.9056 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.063, allocations: 9.156 kB / 0.9056 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/1.064, allocations: 102.5 kB / 0.9057 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.067, allocations: 0.6829 MB / 0.9064 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/1.069, allocations: 1.709 MB / 0.9081 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/1.072, allocations: 423.8 kB / 0.9085 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.073, allocations: 128.7 kB / 0.9086 GB, free: 162 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.001568/1.074, allocations: 0.9193 MB / 0.9095 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/1.075, allocations: 221.3 kB / 0.9097 GB, free: 161.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009331/1.084, allocations: 4.196 MB / 0.9138 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.084, allocations: 21.67 kB / 0.9138 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.084, allocations: 0 / 0.9138 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.084, allocations: 11.95 kB / 0.9138 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.099, allocations: 7.864 MB / 0.9215 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.099, allocations: 0 / 0.9215 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.102, allocations: 0.5734 MB / 0.9221 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.102, allocations: 80.72 kB / 0.9222 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/1.102, allocations: 63.95 kB / 0.9222 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.104, allocations: 1.717 MB / 0.9239 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.104, allocations: 64 / 0.9239 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/1.112, allocations: 3.468 MB / 0.9273 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.113, allocations: 0.7474 MB / 0.928 GB, free: 144.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/1.114, allocations: 63.62 kB / 0.9281 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/1.116, allocations: 272.4 kB / 0.9283 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/1.117, allocations: 145.8 kB / 0.9285 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.117, allocations: 83.94 kB / 0.9285 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002137/1.119, allocations: 1.486 MB / 0.93 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/1.119, allocations: 0 / 0.93 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002545/1.122, allocations: 0.8566 MB / 0.9308 GB, free: 141.8 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.008909/1.131, allocations: 4.61 MB / 0.9353 GB, free: 137.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007353/1.138, allocations: 3.546 MB / 0.9388 GB, free: 133.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.138, allocations: 8.125 kB / 0.9388 GB, free: 133.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003383/1.141, allocations: 1.786 MB / 0.9406 GB, free: 132 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.144, allocations: 456 kB / 0.941 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0428/1.186, allocations: 23.98 MB / 0.9644 GB, free: 107.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.188, allocations: 2.254 MB / 0.9666 GB, free: 105 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003296/1.192, allocations: 0.9183 MB / 0.9675 GB, free: 104.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.194, allocations: 1.241 MB / 0.9687 GB, free: 102.8 MB / 0.6856 GB Notification: Performance of SimCode: time 8.61e-07/1.194, allocations: 0 / 0.9687 GB, free: 102.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08378/1.277, allocations: 61.24 MB / 1.029 GB, free: 41.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.39, allocations: 18.34 kB / 1.029 GB, free: 41.9 MB / 0.6856 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)