Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001051/0.001051, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.35/1.35, 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.7235/0.7235, allocations: 115.5 MB / 408.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.000373, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4305, allocations: 77.52 MB / 0.5606 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00328/0.4338, allocations: 2.872 MB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4358, allocations: 1.339 MB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.436, allocations: 3.938 kB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.4362, allocations: 43.36 kB / 0.5647 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.4367, allocations: 141.8 kB / 0.5649 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.4371, allocations: 137.8 kB / 0.565 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.4376, allocations: 457.8 kB / 0.5654 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.438, allocations: 248.1 kB / 0.5657 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.4382, allocations: 114.6 kB / 0.5658 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.4385, allocations: 136 kB / 0.5659 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.4386, allocations: 18.97 kB / 0.5659 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.439, allocations: 207.7 kB / 0.5661 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4391, allocations: 78.94 kB / 0.5662 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.4392, allocations: 133.4 kB / 0.5663 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.4396, allocations: 267.3 kB / 0.5666 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4396, allocations: 0 / 0.5666 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4396, allocations: 1.844 kB / 0.5666 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4397, allocations: 0 / 0.5666 GB, free: 31.81 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007671/0.4404, allocations: 0.4969 MB / 0.5671 GB, free: 31.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4405, allocations: 12.72 kB / 0.5671 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.4411, allocations: 85.12 kB / 0.5672 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.4414, allocations: 262 kB / 0.5674 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4414, allocations: 13.72 kB / 0.5674 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4415, allocations: 18.39 kB / 0.5675 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.442, allocations: 323.1 kB / 0.5678 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.442, allocations: 2.469 kB / 0.5678 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.4421, allocations: 6 kB / 0.5678 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.4421, allocations: 20.91 kB / 0.5678 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.4425, allocations: 217 kB / 0.568 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.4439, allocations: 1.504 MB / 0.5695 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.4444, allocations: 205.1 kB / 0.5697 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4445, allocations: 47.23 kB / 0.5697 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4445, allocations: 1.781 kB / 0.5697 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4445, allocations: 37.53 kB / 0.5697 GB, free: 29.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.4445, allocations: 1.031 kB / 0.5697 GB, free: 29.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.4451, allocations: 272.7 kB / 0.57 GB, free: 29.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.4451, allocations: 52.56 kB / 0.5701 GB, free: 29.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4454, allocations: 207.1 kB / 0.5703 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4454, allocations: 27.17 kB / 0.5703 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.4455, allocations: 175.4 kB / 0.5704 GB, free: 28.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.4455, allocations: 33.86 kB / 0.5705 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.4455, allocations: 23.45 kB / 0.5705 GB, free: 28.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.4456, allocations: 331 kB / 0.5708 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4457, allocations: 44.36 kB / 0.5709 GB, free: 28.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.4459, allocations: 114.2 kB / 0.571 GB, free: 28.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.4461, allocations: 180.6 kB / 0.5711 GB, free: 28.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4461, allocations: 2.781 kB / 0.5711 GB, free: 28.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003669/0.4465, allocations: 215.3 kB / 0.5713 GB, free: 28.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4465, allocations: 7.078 kB / 0.5714 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4465, allocations: 2.75 kB / 0.5714 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.4467, allocations: 28.83 kB / 0.5714 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4469, allocations: 36.89 kB / 0.5714 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.4477, allocations: 1.32 MB / 0.5727 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4479, allocations: 21.03 kB / 0.5727 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4479, allocations: 7.875 kB / 0.5727 GB, free: 26.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.448, allocations: 149.8 kB / 0.5729 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.4481, allocations: 19.12 kB / 0.5729 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.4481, allocations: 19.84 kB / 0.5729 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4481, allocations: 1.969 kB / 0.5729 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4481, allocations: 1.844 kB / 0.5729 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.4481, allocations: 7.734 kB / 0.5729 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.4487, allocations: 494.3 kB / 0.5734 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4487, allocations: 0 / 0.5734 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.4488, allocations: 16.69 kB / 0.5734 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.882e-05/0.4489, allocations: 29.58 kB / 0.5734 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4489, allocations: 1.125 kB / 0.5734 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006902/0.4496, allocations: 1.321 MB / 0.5747 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4496, allocations: 0 / 0.5747 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4499, allocations: 239.7 kB / 0.575 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.45, allocations: 104.1 kB / 0.5751 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.45, allocations: 0.5625 kB / 0.5751 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4501, allocations: 13.38 kB / 0.5751 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4502, allocations: 5.438 kB / 0.5751 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4502, allocations: 3.812 kB / 0.5751 GB, free: 24.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4503, allocations: 146.3 kB / 0.5752 GB, free: 24.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4503, allocations: 1.188 kB / 0.5752 GB, free: 24.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.4507, allocations: 56.44 kB / 0.5753 GB, free: 24.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.634e-05/0.4508, allocations: 106.2 kB / 0.5754 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.4512, allocations: 241.8 kB / 0.5756 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4513, allocations: 0.5312 kB / 0.5756 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.4515, allocations: 164 kB / 0.5758 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4519, allocations: 34.69 kB / 0.5758 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.4525, allocations: 0.5318 MB / 0.5763 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.4528, allocations: 0.7596 MB / 0.5771 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.4528, allocations: 16.27 kB / 0.5771 GB, free: 22.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4528, allocations: 1.312 kB / 0.5771 GB, free: 22.94 MB / 446.1 MB Notification: Performance of Templates: time 0.00629/0.4591, allocations: 3.188 MB / 0.5802 GB, free: 22.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)