Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8028/0.8028, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManager,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.3 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1696, allocations: 85.9 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009612/0.1792, allocations: 7.067 MB / 0.7093 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4944/0.6736, allocations: 159.3 MB / 0.8649 GB, free: 368 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.6747, allocations: 39.69 kB / 0.8649 GB, free: 328 kB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000787/0.6755, allocations: 305.1 kB / 0.8652 GB, free: 20 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.6775, allocations: 0.7325 MB / 0.8659 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6802, allocations: 1.334 MB / 0.8672 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00516/0.6854, allocations: 4.571 MB / 0.8717 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.6877, allocations: 1.586 MB / 0.8732 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.6909, allocations: 1.863 MB / 0.8751 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.6934, allocations: 1.801 MB / 0.8768 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006923/0.6941, allocations: 468 kB / 0.8773 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.6963, allocations: 1.124 MB / 0.8784 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009539/0.6972, allocations: 0.9931 MB / 0.8793 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.6994, allocations: 1.905 MB / 0.8812 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006712/0.7062, allocations: 5.631 MB / 0.8867 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7062, allocations: 0 / 0.8867 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7062, allocations: 0 / 0.8867 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001168/0.7063, allocations: 4 kB / 0.8867 GB, free: 9.918 MB / 0.6544 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.007735/0.714, allocations: 3.945 MB / 0.8905 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7141, allocations: 8.031 kB / 0.8905 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005303/0.7146, allocations: 429.5 kB / 0.891 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.7294, allocations: 1.983 MB / 0.8929 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.7342, allocations: 2.164 MB / 0.895 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.7344, allocations: 234 kB / 0.8952 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007243/0.7352, allocations: 292 kB / 0.8955 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009878/0.745, allocations: 4.464 MB / 0.8999 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/0.7451, allocations: 0 / 0.8999 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.7454, allocations: 124 kB / 0.9 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.7455, allocations: 72 kB / 0.9001 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.7575, allocations: 4.913 MB / 0.9049 GB, free: 7.074 MB / 0.67 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.02756/0.785, allocations: 14.02 MB / 0.9185 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.7961, allocations: 3.885 MB / 0.9223 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/0.8001, allocations: 1.572 MB / 0.9239 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009052/0.801, allocations: 181.8 kB / 0.924 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004999/0.806, allocations: 2.035 MB / 0.926 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 5.39e-06/0.806, allocations: 0 / 0.926 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01485/0.8209, allocations: 5.167 MB / 0.9311 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.821, allocations: 205.9 kB / 0.9313 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/0.8251, allocations: 2.002 MB / 0.9332 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004894/0.8256, allocations: 61.7 kB / 0.9333 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.8271, allocations: 1.23 MB / 0.9345 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.8282, allocations: 0.7552 MB / 0.9352 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.8296, allocations: 0.5072 MB / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8297, allocations: 305.1 kB / 0.936 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/0.8336, allocations: 1.55 MB / 0.9375 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.838, allocations: 1.87 MB / 0.9394 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008206/0.8462, allocations: 3.396 MB / 0.9427 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.8462, allocations: 4 kB / 0.9427 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01045/0.8567, allocations: 3.912 MB / 0.9465 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.8567, allocations: 9.875 kB / 0.9465 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.8567, allocations: 4.062 kB / 0.9465 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.8574, allocations: 101.2 kB / 0.9466 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/0.861, allocations: 0.6863 MB / 0.9473 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.8633, allocations: 1.604 MB / 0.9488 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.8667, allocations: 426.2 kB / 0.9493 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/0.8671, allocations: 124 kB / 0.9494 GB, free: 8.246 MB / 0.7169 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.002353/0.8695, allocations: 0.9322 MB / 0.9503 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009552/0.8704, allocations: 242.4 kB / 0.9505 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.8814, allocations: 4.199 MB / 0.9546 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.8814, allocations: 24 kB / 0.9546 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.8814, allocations: 4 kB / 0.9546 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/0.8815, allocations: 15.95 kB / 0.9547 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.8985, allocations: 7.863 MB / 0.9623 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.8985, allocations: 0 / 0.9623 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/0.9014, allocations: 0.5772 MB / 0.9629 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.9019, allocations: 76.78 kB / 0.963 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/0.9022, allocations: 71.88 kB / 0.963 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.9043, allocations: 1.621 MB / 0.9646 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9043, allocations: 0 / 0.9646 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008529/0.9128, allocations: 3.478 MB / 0.968 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/0.9148, allocations: 0.7071 MB / 0.9687 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/0.9154, allocations: 55.78 kB / 0.9688 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/0.918, allocations: 283.5 kB / 0.969 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.9184, allocations: 157.7 kB / 0.9692 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/0.9187, allocations: 83.94 kB / 0.9693 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003144/0.9218, allocations: 1.535 MB / 0.9708 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9218, allocations: 0 / 0.9708 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003122/0.925, allocations: 0.8764 MB / 0.9716 GB, free: 1.094 MB / 0.7325 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.01135/0.9363, allocations: 4.621 MB / 0.9761 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00894/0.9452, allocations: 3.444 MB / 0.9795 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9453, allocations: 0 / 0.9795 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004083/0.9493, allocations: 1.685 MB / 0.9811 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.952, allocations: 447.2 kB / 0.9816 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05184/1.004, allocations: 24.4 MB / 1.005 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.006, allocations: 2.267 MB / 1.008 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003299/1.01, allocations: 0.9226 MB / 1.009 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.012, allocations: 1.268 MB / 1.01 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/1.012, allocations: 0 / 1.01 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.468/1.48, allocations: 63.25 MB / 1.072 GB, free: 301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/17.8, allocations: 2.625 kB / 1.072 GB, free: 301 MB / 0.8262 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManager.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.511435771128163] Failed to read output from testmodel.py, exit status != 0: 18.05438294215128 18.077417009 17.366858545 Calling exit ...