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.001463/0.001463, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001731/0.001731, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.608/1.608, allocations: 251.7 MB / 0.5089 GB, free: 3.266 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.001323/0.001323, allocations: 63.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6825, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005451/0.688, allocations: 2.496 MB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.6909, allocations: 1.45 MB / 0.7279 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.6911, allocations: 7.938 kB / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.692, allocations: 158 kB / 0.728 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.6924, allocations: 127.5 kB / 0.7281 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.693, allocations: 163.7 kB / 0.7283 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.6933, allocations: 223.3 kB / 0.7285 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.6938, allocations: 139 kB / 0.7286 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.694, allocations: 91.61 kB / 0.7287 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.6943, allocations: 103.7 kB / 0.7288 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.6943, allocations: 12 kB / 0.7288 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.6946, allocations: 179.6 kB / 0.729 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.6947, allocations: 63.81 kB / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.6948, allocations: 87.58 kB / 0.7291 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.6953, allocations: 287.1 kB / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6953, allocations: 0 / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6954, allocations: 4 kB / 0.7294 GB, free: 7.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.6954, allocations: 0 / 0.7294 GB, free: 7.5 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.0008745/0.6963, allocations: 479.1 kB / 0.7299 GB, free: 6.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6963, allocations: 8.031 kB / 0.7299 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.6969, allocations: 64.59 kB / 0.73 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.6972, allocations: 223.7 kB / 0.7302 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6972, allocations: 24.56 kB / 0.7302 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.6973, allocations: 12.38 kB / 0.7302 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.6978, allocations: 279.6 kB / 0.7305 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.6978, allocations: 0 / 0.7305 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.6978, allocations: 7.984 kB / 0.7305 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.6979, allocations: 20.22 kB / 0.7305 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.6983, allocations: 212.5 kB / 0.7307 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.7002, allocations: 1.58 MB / 0.7322 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.7007, allocations: 319.2 kB / 0.7325 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.7008, allocations: 65.69 kB / 0.7326 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.7008, allocations: 8.125 kB / 0.7326 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.7009, allocations: 34.56 kB / 0.7326 GB, free: 3.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.7009, allocations: 0 / 0.7326 GB, free: 3.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000674/0.7015, allocations: 244.6 kB / 0.7329 GB, free: 3.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.7016, allocations: 81.05 kB / 0.733 GB, free: 3.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.7018, allocations: 195.5 kB / 0.7331 GB, free: 3.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7019, allocations: 29.7 kB / 0.7332 GB, free: 3.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.702, allocations: 155.5 kB / 0.7333 GB, free: 3.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.7021, allocations: 47.47 kB / 0.7334 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.7022, allocations: 57.78 kB / 0.7334 GB, free: 3.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7023, allocations: 326.8 kB / 0.7337 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.7024, allocations: 68.83 kB / 0.7338 GB, free: 2.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.7026, allocations: 159 kB / 0.7339 GB, free: 2.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.7029, allocations: 226.9 kB / 0.7342 GB, free: 2.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7029, allocations: 0 / 0.7342 GB, free: 2.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003939/0.7033, allocations: 261.2 kB / 0.7344 GB, free: 1.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7034, allocations: 4 kB / 0.7344 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.7034, allocations: 4 kB / 0.7344 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.7034, allocations: 7.938 kB / 0.7344 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.7037, allocations: 51.91 kB / 0.7345 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.7037, allocations: 8.359 kB / 0.7345 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.7039, allocations: 19.91 kB / 0.7345 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.7039, allocations: 11.98 kB / 0.7345 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001761/0.7041, allocations: 164 kB / 0.7347 GB, free: 1.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001722/0.7043, allocations: 146.1 kB / 0.7348 GB, free: 1.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002711/0.7045, allocations: 219.8 kB / 0.735 GB, free: 1.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.7045, allocations: 0 / 0.735 GB, free: 1.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003486/0.7049, allocations: 241.2 kB / 0.7353 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.7049, allocations: 4 kB / 0.7353 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7049, allocations: 4 kB / 0.7353 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.7049, allocations: 4 kB / 0.7353 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.7051, allocations: 47.91 kB / 0.7353 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.7051, allocations: 12.34 kB / 0.7353 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.7053, allocations: 23.78 kB / 0.7353 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.7053, allocations: 15.92 kB / 0.7354 GB, free: 0.8555 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.7055, allocations: 188.3 kB / 0.7355 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.7055, allocations: 11.91 kB / 0.7356 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.7058, allocations: 143 kB / 0.7357 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7058, allocations: 7.938 kB / 0.7357 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.7058, allocations: 3.984 kB / 0.7357 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7058, allocations: 0 / 0.7357 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7069, allocations: 0.7198 MB / 0.7364 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7069, allocations: 4.031 kB / 0.7364 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.707, allocations: 28.05 kB / 0.7364 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.707, allocations: 4 kB / 0.7364 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.707, allocations: 12 kB / 0.7364 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.7071, allocations: 7.984 kB / 0.7365 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7071, allocations: 3.938 kB / 0.7365 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.7075, allocations: 378.2 kB / 0.7368 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.7076, allocations: 108.9 kB / 0.7369 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.7076, allocations: 11.94 kB / 0.7369 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.7078, allocations: 11.92 kB / 0.7369 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.7078, allocations: 19.92 kB / 0.737 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.7078, allocations: 4 kB / 0.737 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000143/0.708, allocations: 148.9 kB / 0.7371 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.708, allocations: 0 / 0.7371 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005121/0.7085, allocations: 76 kB / 0.7372 GB, free: 14.82 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 (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.0002036/0.7087, allocations: 107.2 kB / 0.7373 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.7092, allocations: 265 kB / 0.7375 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7092, allocations: 4.125 kB / 0.7375 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.7093, allocations: 55.84 kB / 0.7376 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.7098, allocations: 32.52 kB / 0.7376 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.7107, allocations: 483.2 kB / 0.7381 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.7112, allocations: 0.7402 MB / 0.7388 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.7114, allocations: 77.48 kB / 0.7389 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.7115, allocations: 23.42 kB / 0.7389 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.7115, allocations: 0 / 0.7389 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.005289/0.7168, allocations: 1.745 MB / 0.7406 GB, free: 11.25 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (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)