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.001292/0.001292, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001613/0.001613, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.785 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.8535/0.8535, allocations: 134 MB / 446.4 MB, free: 9.941 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.002185/0.002185, allocations: 60.47 kB / 0.6184 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1657, allocations: 85.92 MB / 0.7023 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.009244/0.175, allocations: 6.23 MB / 0.7084 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5503/0.7252, allocations: 137.4 MB / 0.8426 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.7265, allocations: 39.69 kB / 0.8426 GB, free: 3.734 MB / 0.6075 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.0008444/0.7274, allocations: 301.1 kB / 0.8429 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.7297, allocations: 0.7413 MB / 0.8436 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.7326, allocations: 1.318 MB / 0.8449 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005244/0.7379, allocations: 4.571 MB / 0.8494 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.7404, allocations: 1.582 MB / 0.8509 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003499/0.7439, allocations: 1.922 MB / 0.8528 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.7467, allocations: 1.813 MB / 0.8546 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000759/0.7475, allocations: 464 kB / 0.855 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.7496, allocations: 1.058 MB / 0.8561 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.7506, allocations: 0.9853 MB / 0.857 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.7526, allocations: 1.493 MB / 0.8585 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006461/0.759, allocations: 5.631 MB / 0.864 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.759, allocations: 0 / 0.864 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7591, allocations: 0 / 0.864 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.042e-05/0.7591, allocations: 0 / 0.864 GB, free: 13.77 MB / 0.6387 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.007489/0.7666, allocations: 3.91 MB / 0.8678 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7667, allocations: 16.03 kB / 0.8678 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005258/0.7672, allocations: 429.5 kB / 0.8682 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.7821, allocations: 1.983 MB / 0.8701 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.7872, allocations: 2.172 MB / 0.8723 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.7874, allocations: 230 kB / 0.8725 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006507/0.7881, allocations: 292 kB / 0.8728 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009466/0.7975, allocations: 4.684 MB / 0.8773 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/0.7976, allocations: 3.938 kB / 0.8773 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.7979, allocations: 124 kB / 0.8775 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.7979, allocations: 72 kB / 0.8775 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.8087, allocations: 4.807 MB / 0.8822 GB, free: 10.77 MB / 0.6544 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.02071/0.8294, allocations: 10.34 MB / 0.8923 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.8394, allocations: 3.798 MB / 0.896 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/0.8431, allocations: 1.547 MB / 0.8975 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.8439, allocations: 162.1 kB / 0.8977 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004377/0.8483, allocations: 2.104 MB / 0.8997 GB, free: 8.629 MB / 0.67 GB Notification: Performance of pre-optimization done (n=214): time 3.637e-06/0.8483, allocations: 0 / 0.8997 GB, free: 8.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=214): time 0.01303/0.8613, allocations: 5.089 MB / 0.9047 GB, free: 3.531 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.8614, allocations: 205.9 kB / 0.9049 GB, free: 3.289 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.8642, allocations: 1.904 MB / 0.9068 GB, free: 1.336 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.8645, allocations: 61.7 kB / 0.9068 GB, free: 1.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.8657, allocations: 1.231 MB / 0.908 GB, free: 24 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008057/0.8665, allocations: 0.7515 MB / 0.9088 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/0.8673, allocations: 0.5033 MB / 0.9093 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8675, allocations: 301.1 kB / 0.9095 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/0.8712, allocations: 1.53 MB / 0.911 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.8752, allocations: 1.99 MB / 0.913 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007574/0.8828, allocations: 3.345 MB / 0.9163 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8828, allocations: 0 / 0.9163 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009554/0.8924, allocations: 3.858 MB / 0.92 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.8924, allocations: 14.44 kB / 0.92 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8924, allocations: 8 kB / 0.92 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.893, allocations: 92.77 kB / 0.9201 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.8963, allocations: 0.6707 MB / 0.9208 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.8985, allocations: 1.588 MB / 0.9223 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.9015, allocations: 415.3 kB / 0.9227 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.9018, allocations: 123.9 kB / 0.9228 GB, free: 500 kB / 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.001798/0.9036, allocations: 0.9377 MB / 0.9238 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.9041, allocations: 234.7 kB / 0.924 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009888/0.914, allocations: 4.165 MB / 0.9281 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.914, allocations: 24 kB / 0.9281 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.9141, allocations: 4 kB / 0.9281 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.9141, allocations: 11.95 kB / 0.9281 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.9286, allocations: 7.29 MB / 0.9352 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.9286, allocations: 0 / 0.9352 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/0.9314, allocations: 0.5655 MB / 0.9358 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.9319, allocations: 76.73 kB / 0.9358 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.932, allocations: 67.94 kB / 0.9359 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.934, allocations: 1.594 MB / 0.9375 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.934, allocations: 3.938 kB / 0.9375 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007926/0.9419, allocations: 3.435 MB / 0.9408 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/0.9438, allocations: 0.6912 MB / 0.9415 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.9442, allocations: 63.72 kB / 0.9416 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/0.9464, allocations: 251.7 kB / 0.9418 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.9467, allocations: 157.7 kB / 0.9419 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.9469, allocations: 80.02 kB / 0.942 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002275/0.9492, allocations: 1.445 MB / 0.9434 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9492, allocations: 0 / 0.9434 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002334/0.9515, allocations: 0.8648 MB / 0.9443 GB, free: 10.18 MB / 0.7169 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.01009/0.9616, allocations: 4.61 MB / 0.9488 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008161/0.9698, allocations: 3.393 MB / 0.9521 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9698, allocations: 0 / 0.9521 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.9736, allocations: 1.657 MB / 0.9537 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.9757, allocations: 445.2 kB / 0.9541 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06232/1.038, allocations: 23.53 MB / 0.9771 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/1.041, allocations: 1.719 MB / 0.9788 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003707/1.045, allocations: 0.9302 MB / 0.9797 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/1.047, allocations: 1.272 MB / 0.9809 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/1.047, allocations: 0 / 0.9809 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/1.191, allocations: 62.76 MB / 1.042 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.82, allocations: 2.344 kB / 1.042 GB, free: 5.988 MB / 0.8106 GB " [Timeout remaining time 644] (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: 19.771741720847785] Failed to read output from testmodel.py, exit status != 0: 16.07831767015159 16.104201408 15.340565819 Calling exit ...