Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.03 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.8556/0.8556, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.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.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: translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.98 kB / 0.6109 GB, free: 13.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2034, allocations: 84.73 MB / 0.6937 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01044/0.2138, allocations: 7.195 MB / 0.7007 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6394/0.8533, allocations: 156.2 MB / 0.8532 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.8554, allocations: 55.56 kB / 0.8532 GB, free: 14.93 MB / 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.001128/0.8565, allocations: 293.1 kB / 0.8535 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.8602, allocations: 0.7177 MB / 0.8542 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004521/0.8647, allocations: 1.233 MB / 0.8554 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006415/0.8711, allocations: 4.07 MB / 0.8594 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.8738, allocations: 1.5 MB / 0.8609 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.8777, allocations: 1.725 MB / 0.8626 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.8811, allocations: 1.75 MB / 0.8643 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009164/0.882, allocations: 340 kB / 0.8646 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.8847, allocations: 0.9523 MB / 0.8655 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.8857, allocations: 0.8954 MB / 0.8664 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.8883, allocations: 1.721 MB / 0.8681 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007741/0.896, allocations: 4.699 MB / 0.8727 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.896, allocations: 0 / 0.8727 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.695e-06/0.896, allocations: 0 / 0.8727 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002187/0.8963, allocations: 3.938 kB / 0.8727 GB, free: 10.93 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.01072/0.907, allocations: 3.925 MB / 0.8765 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.907, allocations: 12.03 kB / 0.8765 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.9173, allocations: 1.316 MB / 0.8778 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.9228, allocations: 1.907 MB / 0.8797 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.923, allocations: 234 kB / 0.8799 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008784/0.9239, allocations: 300 kB / 0.8802 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.9351, allocations: 4.207 MB / 0.8843 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.9351, allocations: 3.938 kB / 0.8843 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.9355, allocations: 127.9 kB / 0.8844 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/0.9356, allocations: 76.81 kB / 0.8845 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.9481, allocations: 4.592 MB / 0.889 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03039/0.9785, allocations: 12.75 MB / 0.9014 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.9917, allocations: 3.62 MB / 0.9049 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004752/0.9965, allocations: 1.449 MB / 0.9064 GB, free: 7.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.9976, allocations: 190 kB / 0.9065 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00599/1.004, allocations: 1.936 MB / 0.9084 GB, free: 5.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=223): time 7.183e-06/1.004, allocations: 0 / 0.9084 GB, free: 5.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=223): time 0.01703/1.021, allocations: 4.841 MB / 0.9132 GB, free: 448 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/1.021, allocations: 261.3 kB / 0.9134 GB, free: 128 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/1.025, allocations: 1.951 MB / 0.9153 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000641/1.026, allocations: 69.7 kB / 0.9154 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.027, allocations: 1.262 MB / 0.9166 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.029, allocations: 0.7823 MB / 0.9174 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/1.03, allocations: 0.531 MB / 0.9179 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.031, allocations: 301.1 kB / 0.9182 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/1.035, allocations: 1.448 MB / 0.9196 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/1.04, allocations: 1.756 MB / 0.9213 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008872/1.049, allocations: 3.182 MB / 0.9244 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/1.049, allocations: 4 kB / 0.9244 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01193/1.061, allocations: 3.755 MB / 0.9281 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/1.061, allocations: 8 kB / 0.9281 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.061, allocations: 7.984 kB / 0.9281 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/1.061, allocations: 93.06 kB / 0.9282 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/1.065, allocations: 0.7097 MB / 0.9289 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.068, allocations: 1.543 MB / 0.9304 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/1.072, allocations: 450.9 kB / 0.9308 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005178/1.072, allocations: 131.8 kB / 0.9309 GB, free: 13.77 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.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 (282): * Single equations (assignments): 281 * 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.002491/1.075, allocations: 0.8032 MB / 0.9317 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.076, allocations: 238.5 kB / 0.932 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.089, allocations: 4.033 MB / 0.9359 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.089, allocations: 24 kB / 0.9359 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.089, allocations: 8 kB / 0.9359 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/1.089, allocations: 11.95 kB / 0.9359 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.107, allocations: 7.158 MB / 0.9429 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.107, allocations: 7.984 kB / 0.9429 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/1.111, allocations: 0.5968 MB / 0.9435 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/1.111, allocations: 72.8 kB / 0.9436 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/1.111, allocations: 71.94 kB / 0.9437 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/1.114, allocations: 1.57 MB / 0.9452 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.114, allocations: 0 / 0.9452 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009525/1.123, allocations: 3.342 MB / 0.9485 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.125, allocations: 0.6321 MB / 0.9491 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008285/1.126, allocations: 63.78 kB / 0.9491 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.129, allocations: 282.4 kB / 0.9494 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.13, allocations: 157.7 kB / 0.9496 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.13, allocations: 91.94 kB / 0.9496 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00347/1.133, allocations: 1.459 MB / 0.9511 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/1.133, allocations: 0 / 0.9511 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003848/1.137, allocations: 0.896 MB / 0.9519 GB, free: 7.906 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * 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.002783/1.14, allocations: 0.697 MB / 0.9526 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.15, allocations: 3.264 MB / 0.9558 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.15, allocations: 4.062 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005238/1.155, allocations: 1.606 MB / 0.9574 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/1.16, allocations: 452.3 kB / 0.9578 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.178, allocations: 6.409 MB / 0.9641 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/1.181, allocations: 2.218 MB / 0.9662 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004365/1.185, allocations: 0.9613 MB / 0.9672 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/1.187, allocations: 307.2 kB / 0.9675 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of SimCode: time 1.843e-06/1.187, allocations: 0 / 0.9675 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.08263/1.27, allocations: 41.53 MB / 1.008 GB, free: 14.78 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile [Timeout 660] (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.428266540169716] Failed to read output from testmodel.py, exit status != 0: 1.2789877895265818 1.29538171 0.39594987 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fba010957b0>