Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 90 kB / 16.67 MB, free: 6.594 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.001129/0.001129, allocations: 182.7 kB / 17.58 MB, free: 6.188 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.361/1.361, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.703/0.703, allocations: 115.5 MB / 408.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003743, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4248, allocations: 77.51 MB / 0.5606 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002708/0.4276, allocations: 2.12 MB / 0.5627 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4297, allocations: 1.395 MB / 0.564 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.4299, allocations: 2.094 kB / 0.564 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.43, allocations: 25 kB / 0.564 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.4304, allocations: 119.5 kB / 0.5642 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.4309, allocations: 169.3 kB / 0.5643 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.4313, allocations: 316.2 kB / 0.5646 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.4318, allocations: 243.4 kB / 0.5649 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.432, allocations: 73.61 kB / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.4323, allocations: 94.33 kB / 0.565 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.4323, allocations: 7.219 kB / 0.565 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.4327, allocations: 213.5 kB / 0.5652 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.4328, allocations: 61.06 kB / 0.5653 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4329, allocations: 106.5 kB / 0.5654 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.4333, allocations: 210.4 kB / 0.5656 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4333, allocations: 3.938 kB / 0.5656 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4333, allocations: 1.406 kB / 0.5656 GB, free: 32.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.4333, allocations: 0 / 0.5656 GB, free: 32.38 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006148/0.4339, allocations: 438.6 kB / 0.566 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.434, allocations: 14.03 kB / 0.566 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.4346, allocations: 66.77 kB / 0.5661 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4348, allocations: 226.4 kB / 0.5663 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4348, allocations: 11.12 kB / 0.5663 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.4349, allocations: 16.48 kB / 0.5663 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.4354, allocations: 283.7 kB / 0.5666 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4354, allocations: 1.344 kB / 0.5666 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.4354, allocations: 7.875 kB / 0.5666 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.4355, allocations: 27.59 kB / 0.5666 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.4358, allocations: 203.3 kB / 0.5668 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4375, allocations: 1.586 MB / 0.5684 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.4379, allocations: 325.6 kB / 0.5687 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.438, allocations: 63.86 kB / 0.5687 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.438, allocations: 5.453 kB / 0.5687 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.438, allocations: 43.5 kB / 0.5688 GB, free: 29.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.438, allocations: 0 / 0.5688 GB, free: 29.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005423/0.4386, allocations: 247.5 kB / 0.569 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.4386, allocations: 79.17 kB / 0.5691 GB, free: 29.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4388, allocations: 191.6 kB / 0.5693 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4388, allocations: 26.95 kB / 0.5693 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.4389, allocations: 157.7 kB / 0.5695 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4389, allocations: 38.44 kB / 0.5695 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.439, allocations: 21.8 kB / 0.5695 GB, free: 29.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.4391, allocations: 328.8 kB / 0.5698 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4392, allocations: 69.44 kB / 0.5699 GB, free: 28.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.4394, allocations: 156.9 kB / 0.57 GB, free: 28.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.4396, allocations: 228.7 kB / 0.5703 GB, free: 28.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4396, allocations: 2.25 kB / 0.5703 GB, free: 28.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003896/0.44, allocations: 264.7 kB / 0.5705 GB, free: 28.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.4401, allocations: 172.8 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4402, allocations: 2.844 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4402, allocations: 5.469 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4404, allocations: 55.25 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.4404, allocations: 4.812 kB / 0.5707 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.4406, allocations: 15.73 kB / 0.5708 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4406, allocations: 22.75 kB / 0.5708 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.4406, allocations: 4.312 kB / 0.5708 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002846/0.4409, allocations: 194.8 kB / 0.571 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4409, allocations: 4.406 kB / 0.571 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.4409, allocations: 4 kB / 0.571 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4411, allocations: 52.14 kB / 0.571 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4411, allocations: 9.5 kB / 0.571 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4412, allocations: 20.11 kB / 0.5711 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4413, allocations: 8.938 kB / 0.5711 GB, free: 28.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.4414, allocations: 213 kB / 0.5713 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.4414, allocations: 19.84 kB / 0.5713 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.4417, allocations: 143.2 kB / 0.5714 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.4417, allocations: 1.219 kB / 0.5714 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4417, allocations: 3.938 kB / 0.5714 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4417, allocations: 2.438 kB / 0.5714 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.4426, allocations: 0.7205 MB / 0.5721 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4426, allocations: 3.016 kB / 0.5721 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4427, allocations: 28.78 kB / 0.5722 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4428, allocations: 3.938 kB / 0.5722 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4428, allocations: 8.562 kB / 0.5722 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4428, allocations: 3.828 kB / 0.5722 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4428, allocations: 6.906 kB / 0.5722 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.4431, allocations: 384.5 kB / 0.5726 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.4431, allocations: 107.1 kB / 0.5727 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.4432, allocations: 8.766 kB / 0.5727 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4434, allocations: 8.531 kB / 0.5727 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.4434, allocations: 14.61 kB / 0.5727 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4434, allocations: 14.02 kB / 0.5727 GB, free: 26.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.4435, allocations: 146.2 kB / 0.5728 GB, free: 26.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4435, allocations: 1.469 kB / 0.5728 GB, free: 26.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.4441, allocations: 68 kB / 0.5729 GB, free: 26.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.4442, allocations: 108.3 kB / 0.573 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.4446, allocations: 261.5 kB / 0.5733 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4446, allocations: 1.188 kB / 0.5733 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.4447, allocations: 64.75 kB / 0.5733 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.4452, allocations: 32.77 kB / 0.5734 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.4459, allocations: 0.5238 MB / 0.5739 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.4462, allocations: 0.741 MB / 0.5746 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.4462, allocations: 23.8 kB / 0.5746 GB, free: 25.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4462, allocations: 0 / 0.5746 GB, free: 25.38 MB / 446.1 MB Notification: Performance of Templates: time 0.004785/0.451, allocations: 2.185 MB / 0.5767 GB, free: 25.24 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)