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.008918/0.008918, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001431/0.001432, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.659/1.659, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.591/1.591, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.00152/0.00152, allocations: 68.11 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7961, allocations: 104.7 MB / 0.828 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004042/0.8002, allocations: 2.429 MB / 0.8304 GB, free: 184 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00275/0.803, allocations: 1.477 MB / 0.8318 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.8031, allocations: 4 kB / 0.8319 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.8039, allocations: 171.3 kB / 0.832 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.8044, allocations: 127.5 kB / 0.8321 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.8049, allocations: 187.5 kB / 0.8323 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.8052, allocations: 227.2 kB / 0.8325 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.8055, allocations: 124.5 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.8057, allocations: 83.73 kB / 0.8327 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.806, allocations: 103.6 kB / 0.8328 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.806, allocations: 16 kB / 0.8328 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.8063, allocations: 183.6 kB / 0.833 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.8064, allocations: 63.86 kB / 0.8331 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.8064, allocations: 71.61 kB / 0.8331 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.8068, allocations: 285.5 kB / 0.8334 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.8068, allocations: 3.938 kB / 0.8334 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8068, allocations: 0 / 0.8334 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8068, allocations: 0 / 0.8334 GB, free: 13.08 MB / 0.6387 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.0007198/0.8076, allocations: 475.1 kB / 0.8339 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8076, allocations: 15.97 kB / 0.8339 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005315/0.8082, allocations: 68.58 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.8084, allocations: 228 kB / 0.8342 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8085, allocations: 8.656 kB / 0.8342 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.8085, allocations: 16.36 kB / 0.8342 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.809, allocations: 280.9 kB / 0.8345 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.809, allocations: 0 / 0.8345 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.8091, allocations: 8 kB / 0.8345 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.8091, allocations: 16.22 kB / 0.8345 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.8095, allocations: 212.5 kB / 0.8347 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.8113, allocations: 1.587 MB / 0.8362 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.8117, allocations: 319.2 kB / 0.8365 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.8118, allocations: 65.69 kB / 0.8366 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.8118, allocations: 4.156 kB / 0.8366 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8118, allocations: 38.53 kB / 0.8367 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.8119, allocations: 0 / 0.8367 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005692/0.8124, allocations: 240.6 kB / 0.8369 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.8125, allocations: 85.05 kB / 0.837 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.8127, allocations: 200.5 kB / 0.8372 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.8127, allocations: 25.89 kB / 0.8372 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.8128, allocations: 159.6 kB / 0.8373 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.8129, allocations: 39.55 kB / 0.8374 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.8129, allocations: 49.59 kB / 0.8374 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8131, allocations: 326.8 kB / 0.8377 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.8132, allocations: 76.75 kB / 0.8378 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.8133, allocations: 147.1 kB / 0.8379 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.8136, allocations: 238.9 kB / 0.8382 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8136, allocations: 0 / 0.8382 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003625/0.814, allocations: 257.1 kB / 0.8384 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.814, allocations: 8 kB / 0.8384 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.814, allocations: 0 / 0.8384 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.814, allocations: 8.312 kB / 0.8384 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.8143, allocations: 63.89 kB / 0.8385 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.8143, allocations: 4 kB / 0.8385 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.8145, allocations: 23.83 kB / 0.8385 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.8145, allocations: 8 kB / 0.8385 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001617/0.8147, allocations: 160.1 kB / 0.8387 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.8148, allocations: 152.7 kB / 0.8388 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002269/0.815, allocations: 211.8 kB / 0.839 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.8151, allocations: 0 / 0.839 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000341/0.8154, allocations: 237.1 kB / 0.8392 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.8154, allocations: 11.94 kB / 0.8393 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.8154, allocations: 480 / 0.8393 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/0.8154, allocations: 8.406 kB / 0.8393 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.8156, allocations: 55.91 kB / 0.8393 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8156, allocations: 7.938 kB / 0.8393 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.8157, allocations: 19.83 kB / 0.8393 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.8158, allocations: 12 kB / 0.8394 GB, free: 6.43 MB / 0.6387 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.0001073/0.8159, allocations: 185.3 kB / 0.8395 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.8159, allocations: 7.906 kB / 0.8395 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.8162, allocations: 154.8 kB / 0.8397 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8162, allocations: 7.938 kB / 0.8397 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8163, allocations: 4 kB / 0.8397 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.8163, allocations: 0 / 0.8397 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.8172, allocations: 0.7196 MB / 0.8404 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8172, allocations: 4 kB / 0.8404 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.8173, allocations: 24.05 kB / 0.8404 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.8174, allocations: 7.984 kB / 0.8404 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8174, allocations: 12 kB / 0.8405 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.8174, allocations: 4 kB / 0.8405 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8174, allocations: 7.938 kB / 0.8405 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.8177, allocations: 382.5 kB / 0.8408 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.8178, allocations: 104.9 kB / 0.8409 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.8178, allocations: 11.98 kB / 0.8409 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.818, allocations: 4 kB / 0.8409 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.8181, allocations: 15.92 kB / 0.841 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.8181, allocations: 8 kB / 0.841 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001253/0.8182, allocations: 147.7 kB / 0.8411 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8182, allocations: 0 / 0.8411 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000485/0.8187, allocations: 68 kB / 0.8412 GB, free: 4.414 MB / 0.6387 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.0001606/0.8189, allocations: 115.1 kB / 0.8413 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.8193, allocations: 272.8 kB / 0.8415 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8193, allocations: 0 / 0.8415 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.8194, allocations: 63.83 kB / 0.8416 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.8198, allocations: 39.83 kB / 0.8416 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.8206, allocations: 406.7 kB / 0.842 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.8209, allocations: 0.74 MB / 0.8428 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.8211, allocations: 77.48 kB / 0.8428 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.8212, allocations: 19.44 kB / 0.8428 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8212, allocations: 3.938 kB / 0.8428 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of Templates: time 0.004816/0.826, allocations: 1.777 MB / 0.8446 GB, free: 0.8516 MB / 0.6387 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)