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) 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/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001893/0.001893, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 423.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.401, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007499/0.4086, allocations: 7.122 MB / 0.5884 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.166/0.5746, allocations: 155.5 MB / 0.7403 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.5761, allocations: 35.81 kB / 0.7403 GB, free: 10.98 MB / 0.5762 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.0008414/0.5771, allocations: 281.1 kB / 0.7406 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.5792, allocations: 0.713 MB / 0.7413 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5817, allocations: 1.203 MB / 0.7425 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.5855, allocations: 4.063 MB / 0.7464 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.5883, allocations: 2.475 MB / 0.7489 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.5912, allocations: 1.646 MB / 0.7505 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3351/0.9263, allocations: 1.737 MB / 0.7522 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.9274, allocations: 343.6 kB / 0.7525 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.9293, allocations: 0.948 MB / 0.7534 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.93, allocations: 0.8942 MB / 0.7543 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.9319, allocations: 1.724 MB / 0.756 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006748/0.9387, allocations: 4.667 MB / 0.7605 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.9387, allocations: 0.5312 kB / 0.7605 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.457e-06/0.9388, allocations: 1.094 kB / 0.7605 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000169/0.9389, allocations: 0 / 0.7605 GB, free: 5.672 MB / 0.5762 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.00965/0.9486, allocations: 3.896 MB / 0.7643 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9486, allocations: 8.875 kB / 0.7644 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009723/0.9584, allocations: 1.297 MB / 0.7656 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.9628, allocations: 1.948 MB / 0.7675 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.9631, allocations: 231.6 kB / 0.7677 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005937/0.9637, allocations: 294.5 kB / 0.768 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/0.9722, allocations: 4.21 MB / 0.7721 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.9723, allocations: 8.031 kB / 0.7721 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.9726, allocations: 129.1 kB / 0.7723 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.9726, allocations: 74.38 kB / 0.7723 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009959/0.9826, allocations: 4.589 MB / 0.7768 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/1.003, allocations: 12.77 MB / 0.7893 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/1.013, allocations: 3.778 MB / 0.793 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/1.016, allocations: 1.558 MB / 0.7945 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.017, allocations: 1.081 MB / 0.7956 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00395/1.021, allocations: 1.936 MB / 0.7974 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=223): time 6.733e-06/1.021, allocations: 3.984 kB / 0.7975 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=223): time 0.01244/1.034, allocations: 4.906 MB / 0.8022 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.034, allocations: 260.7 kB / 0.8025 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.037, allocations: 1.95 MB / 0.8044 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000355/1.037, allocations: 62.58 kB / 0.8045 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.039, allocations: 1.232 MB / 0.8057 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007783/1.039, allocations: 0.7462 MB / 0.8064 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008905/1.04, allocations: 0.5318 MB / 0.8069 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/1.04, allocations: 311.1 kB / 0.8072 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.044, allocations: 1.44 MB / 0.8086 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003712/1.048, allocations: 1.763 MB / 0.8103 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/1.054, allocations: 3.187 MB / 0.8134 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.054, allocations: 3.688 kB / 0.8134 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009264/1.064, allocations: 3.736 MB / 0.8171 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.064, allocations: 8 kB / 0.8171 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.064, allocations: 4 kB / 0.8171 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/1.064, allocations: 93.86 kB / 0.8172 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/1.068, allocations: 0.7108 MB / 0.8179 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.07, allocations: 1.649 MB / 0.8195 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.074, allocations: 437.4 kB / 0.8199 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/1.074, allocations: 135.4 kB / 0.82 GB, free: 0.7656 MB / 0.5919 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.002047/1.076, allocations: 0.8106 MB / 0.8208 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008113/1.077, allocations: 229.1 kB / 0.8211 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009729/1.087, allocations: 4.019 MB / 0.825 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.087, allocations: 28 kB / 0.825 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.087, allocations: 0 / 0.825 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/1.087, allocations: 15.89 kB / 0.825 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.102, allocations: 7.176 MB / 0.832 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.102, allocations: 0 / 0.832 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003075/1.105, allocations: 0.603 MB / 0.8326 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/1.105, allocations: 72.78 kB / 0.8327 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.105, allocations: 71.94 kB / 0.8328 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/1.107, allocations: 1.664 MB / 0.8344 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.107, allocations: 3.938 kB / 0.8344 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008119/1.115, allocations: 3.329 MB / 0.8376 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.117, allocations: 0.6846 MB / 0.8383 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/1.118, allocations: 67.69 kB / 0.8384 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.12, allocations: 271.6 kB / 0.8386 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.121, allocations: 149.8 kB / 0.8388 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/1.121, allocations: 91.94 kB / 0.8389 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00226/1.123, allocations: 1.462 MB / 0.8403 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.123, allocations: 3 kB / 0.8403 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002704/1.126, allocations: 0.8878 MB / 0.8412 GB, free: 10.88 MB / 0.6231 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.001777/1.128, allocations: 0.6833 MB / 0.8418 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008232/1.136, allocations: 3.385 MB / 0.8451 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.136, allocations: 4 kB / 0.8451 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/1.14, allocations: 1.72 MB / 0.8468 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/1.142, allocations: 454.4 kB / 0.8472 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.155, allocations: 6.298 MB / 0.8534 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/1.157, allocations: 2.221 MB / 0.8556 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003408/1.16, allocations: 0.9541 MB / 0.8565 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.161, allocations: 307.2 kB / 0.8568 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/1.161, allocations: 0 / 0.8568 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.06581/1.227, allocations: 39.1 MB / 0.895 GB, free: 4.465 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)