Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001058/0.001058, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.9 MB / 0.51 GB, free: 4.945 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009297/0.00093, allocations: 23.92 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6631, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003346/0.6665, allocations: 2.048 MB / 0.73 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.6689, allocations: 1.349 MB / 0.7313 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.669, allocations: 0 / 0.7313 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.6692, allocations: 31.83 kB / 0.7313 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.6695, allocations: 79.73 kB / 0.7314 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.6699, allocations: 143.5 kB / 0.7315 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.6701, allocations: 123.8 kB / 0.7317 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.6706, allocations: 230 kB / 0.7319 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.6708, allocations: 63.77 kB / 0.7319 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.671, allocations: 63.73 kB / 0.732 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.671, allocations: 8 kB / 0.732 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.6712, allocations: 99.86 kB / 0.7321 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.6713, allocations: 59.81 kB / 0.7322 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.6714, allocations: 45.64 kB / 0.7322 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.6716, allocations: 209.5 kB / 0.7324 GB, free: 6.895 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6716, allocations: 0 / 0.7324 GB, free: 6.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6716, allocations: 3.938 kB / 0.7324 GB, free: 6.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.6717, allocations: 4 kB / 0.7324 GB, free: 6.887 MB / 0.545 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.000748/0.6724, allocations: 443 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6725, allocations: 8.031 kB / 0.7328 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.673, allocations: 75.69 kB / 0.7329 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.6734, allocations: 222.7 kB / 0.7331 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6734, allocations: 12.28 kB / 0.7331 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.6735, allocations: 15.98 kB / 0.7332 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.6739, allocations: 275.6 kB / 0.7334 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6739, allocations: 0 / 0.7334 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.674, allocations: 8 kB / 0.7334 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.674, allocations: 16.22 kB / 0.7334 GB, free: 5.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.6744, allocations: 212.4 kB / 0.7336 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.6761, allocations: 1.58 MB / 0.7352 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.6766, allocations: 323.2 kB / 0.7355 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.6766, allocations: 3.953 kB / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.6766, allocations: 34.56 kB / 0.7355 GB, free: 3.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.6766, allocations: 0 / 0.7355 GB, free: 3.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005912/0.6772, allocations: 248.8 kB / 0.7358 GB, free: 3.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6773, allocations: 77.11 kB / 0.7358 GB, free: 3.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.6775, allocations: 195.5 kB / 0.736 GB, free: 2.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6775, allocations: 29.7 kB / 0.7361 GB, free: 2.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6777, allocations: 151.6 kB / 0.7362 GB, free: 2.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.6777, allocations: 39.45 kB / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.6777, allocations: 8 kB / 0.7362 GB, free: 2.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6779, allocations: 322.8 kB / 0.7366 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.678, allocations: 68.05 kB / 0.7366 GB, free: 2.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6782, allocations: 151.1 kB / 0.7368 GB, free: 2.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.6783, allocations: 91.89 kB / 0.7368 GB, free: 1.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6783, allocations: 0 / 0.7368 GB, free: 1.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003602/0.6787, allocations: 269 kB / 0.7371 GB, free: 1.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004713/0.6792, allocations: 1.138 MB / 0.7382 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6792, allocations: 0 / 0.7382 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6792, allocations: 8 kB / 0.7382 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6794, allocations: 48.03 kB / 0.7383 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.6794, allocations: 16.39 kB / 0.7383 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6796, allocations: 19.89 kB / 0.7383 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.6796, allocations: 12 kB / 0.7383 GB, free: 332 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.6796, allocations: 4 kB / 0.7383 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002624/0.6799, allocations: 195.6 kB / 0.7385 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6799, allocations: 4 kB / 0.7385 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.6799, allocations: 7.953 kB / 0.7385 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.6801, allocations: 47.92 kB / 0.7386 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6801, allocations: 15.91 kB / 0.7386 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.6802, allocations: 7.938 kB / 0.7386 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.6802, allocations: 16 kB / 0.7386 GB, free: 32 kB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.6804, allocations: 217.4 kB / 0.7388 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.6805, allocations: 19.8 kB / 0.7388 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.6807, allocations: 143.1 kB / 0.739 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6808, allocations: 7.938 kB / 0.739 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6808, allocations: 0 / 0.739 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6808, allocations: 4 kB / 0.739 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.6817, allocations: 0.7157 MB / 0.7397 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6817, allocations: 7.938 kB / 0.7397 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.6818, allocations: 20.33 kB / 0.7397 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6818, allocations: 8 kB / 0.7397 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.6819, allocations: 4 kB / 0.7397 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6819, allocations: 4 kB / 0.7397 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6819, allocations: 7.938 kB / 0.7397 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.6823, allocations: 499.3 kB / 0.7402 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.6824, allocations: 108.9 kB / 0.7403 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.6825, allocations: 4 kB / 0.7403 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.6826, allocations: 15.98 kB / 0.7403 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.6827, allocations: 11.98 kB / 0.7403 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.6827, allocations: 8 kB / 0.7403 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001209/0.6828, allocations: 144.9 kB / 0.7405 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6828, allocations: 0 / 0.7405 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004979/0.6833, allocations: 68 kB / 0.7405 GB, free: 13.81 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.6835, allocations: 115.2 kB / 0.7407 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.6839, allocations: 256.9 kB / 0.7409 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.684, allocations: 0 / 0.7409 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.684, allocations: 64.41 kB / 0.741 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.6844, allocations: 38.86 kB / 0.741 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.6852, allocations: 0.4974 MB / 0.7415 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6855, allocations: 0.7401 MB / 0.7422 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.6857, allocations: 77.47 kB / 0.7423 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.6857, allocations: 19.44 kB / 0.7423 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6857, allocations: 0 / 0.7423 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.004393/0.6901, allocations: 1.616 MB / 0.7439 GB, free: 10.33 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: