Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0009322/0.0009323, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007902/0.007902, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003783, allocations: 9.719 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3596, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003372/0.363, allocations: 2.135 MB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.366, allocations: 1.566 MB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.3662, allocations: 4 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3664, allocations: 23.78 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.367, allocations: 139.5 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.3676, allocations: 179 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.368, allocations: 311.2 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.3686, allocations: 242 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.3688, allocations: 71.64 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.3691, allocations: 95.69 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.3692, allocations: 8 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.3697, allocations: 255.5 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.3698, allocations: 55.89 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3699, allocations: 101.3 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.3704, allocations: 303.3 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3704, allocations: 0 / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3704, allocations: 0 / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3705, allocations: 0 / 1.079 GB, free: 2.008 MB / 0.8262 GB 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.0007599/0.3712, allocations: 451.2 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3713, allocations: 8.031 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.3721, allocations: 88.64 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3724, allocations: 228 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3725, allocations: 8.656 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.3725, allocations: 16.38 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.373, allocations: 295.5 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3731, allocations: 0 / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.3731, allocations: 12 kB / 1.081 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.3732, allocations: 20.22 kB / 1.081 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.3736, allocations: 228.4 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.3755, allocations: 1.599 MB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.3759, allocations: 323.2 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.376, allocations: 57.69 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3761, allocations: 4 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3761, allocations: 42.55 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3761, allocations: 3.938 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0006042/0.3767, allocations: 236.7 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.3768, allocations: 89.03 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3771, allocations: 203.5 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3771, allocations: 25.7 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.3772, allocations: 159.7 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3772, allocations: 39.55 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3773, allocations: 21.72 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3774, allocations: 330.8 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3776, allocations: 67.95 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3778, allocations: 165 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3782, allocations: 238.9 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3782, allocations: 4 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005137/0.3787, allocations: 269.4 kB / 1.084 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.3789, allocations: 183.2 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3789, allocations: 4 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.3789, allocations: 7.984 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3792, allocations: 51.91 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3792, allocations: 4 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.3795, allocations: 27.91 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3795, allocations: 12 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.3795, allocations: 4 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004116/0.3799, allocations: 208.2 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.38, allocations: 4 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.38, allocations: 4 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3802, allocations: 55.91 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3802, allocations: 4 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3804, allocations: 23.86 kB / 1.085 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3804, allocations: 8 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB 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.0001752/0.3806, allocations: 225.2 kB / 1.085 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.3807, allocations: 15.81 kB / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3809, allocations: 154.9 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.381, allocations: 4 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.381, allocations: 3.938 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.381, allocations: 0 / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.3819, allocations: 0.7235 MB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3819, allocations: 48 / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.382, allocations: 28.31 kB / 1.086 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3821, allocations: 15.92 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3821, allocations: 8 kB / 1.086 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3821, allocations: 8.125 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3821, allocations: 0 / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.3824, allocations: 370.3 kB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.3825, allocations: 108.9 kB / 1.087 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3826, allocations: 11.94 kB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3828, allocations: 15.98 kB / 1.087 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3829, allocations: 15.88 kB / 1.087 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3829, allocations: 15.92 kB / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001751/0.3831, allocations: 153.1 kB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3831, allocations: 0 / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005066/0.3836, allocations: 68 kB / 1.087 GB, free: 9.656 MB / 0.8419 GB 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.0001566/0.3837, allocations: 115.2 kB / 1.087 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.3843, allocations: 277.3 kB / 1.087 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3843, allocations: 0 / 1.087 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.3844, allocations: 55.91 kB / 1.087 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.3849, allocations: 32.53 kB / 1.087 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.3857, allocations: 0.4948 MB / 1.088 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3861, allocations: 0.7363 MB / 1.089 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.3863, allocations: 81.39 kB / 1.089 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.3864, allocations: 15.44 kB / 1.089 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of SimCode: time 7.02e-07/0.3864, allocations: 4 kB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.005435/0.3918, allocations: 1.788 MB / 1.09 GB, free: 5.996 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)