Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.656/1.656, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008731/0.000873, allocations: 171.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008042, allocations: 94.08 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 12 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5686, allocations: 120.3 MB / 1.026 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.7675, allocations: 160.6 MB / 1.183 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.7678, allocations: 101.7 kB / 1.183 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02943/0.7973, allocations: 13.15 MB / 1.196 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7973, allocations: 0 / 1.196 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.7974, allocations: 4 kB / 1.196 GB, free: 320 kB / 0.7605 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.00064/0.798, allocations: 467.3 kB / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7981, allocations: 8.031 kB / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.7986, allocations: 64.67 kB / 1.197 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.7989, allocations: 240.9 kB / 1.197 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7989, allocations: 8.375 kB / 1.197 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.799, allocations: 16.36 kB / 1.197 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.7994, allocations: 278.8 kB / 1.197 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.7994, allocations: 3.984 kB / 1.197 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.7995, allocations: 11.98 kB / 1.197 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.7995, allocations: 12.22 kB / 1.197 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.7998, allocations: 208.5 kB / 1.197 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.8015, allocations: 1.58 MB / 1.199 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.8016, allocations: 73.12 kB / 1.199 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.8016, allocations: 49.81 kB / 1.199 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.8017, allocations: 4 kB / 1.199 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.8017, allocations: 30.56 kB / 1.199 GB, free: 13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.8017, allocations: 3.938 kB / 1.199 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.8022, allocations: 224.5 kB / 1.199 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8023, allocations: 81.11 kB / 1.199 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.8025, allocations: 219.2 kB / 1.2 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.8025, allocations: 33.83 kB / 1.2 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.8026, allocations: 163.5 kB / 1.2 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.8026, allocations: 31.56 kB / 1.2 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.8027, allocations: 4 kB / 1.2 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8028, allocations: 322.8 kB / 1.2 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.8029, allocations: 75.94 kB / 1.2 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.8031, allocations: 165.5 kB / 1.2 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.8033, allocations: 231.9 kB / 1.201 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8034, allocations: 4 kB / 1.201 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003835/0.8037, allocations: 270.3 kB / 1.201 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.8039, allocations: 183.6 kB / 1.201 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8039, allocations: 4 kB / 1.201 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.8039, allocations: 4 kB / 1.201 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.8041, allocations: 51.89 kB / 1.201 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8041, allocations: 4 kB / 1.201 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.8043, allocations: 24.22 kB / 1.201 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.8044, allocations: 12 kB / 1.201 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.8044, allocations: 6.031 kB / 1.201 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002955/0.8047, allocations: 216.1 kB / 1.201 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.8047, allocations: 4 kB / 1.201 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.8047, allocations: 4 kB / 1.201 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.8049, allocations: 51.91 kB / 1.201 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8049, allocations: 4 kB / 1.201 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.805, allocations: 28.19 kB / 1.201 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.805, allocations: 16 kB / 1.201 GB, free: 10.43 MB / 0.7761 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.0001432/0.8052, allocations: 217.5 kB / 1.202 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.8052, allocations: 11.91 kB / 1.202 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.8054, allocations: 122.4 kB / 1.202 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8055, allocations: 4 kB / 1.202 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8055, allocations: 3.938 kB / 1.202 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8055, allocations: 0 / 1.202 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.8061, allocations: 0.6235 MB / 1.202 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8062, allocations: 4 kB / 1.202 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.8062, allocations: 15.98 kB / 1.202 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.8062, allocations: 4.25 kB / 1.202 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8063, allocations: 8 kB / 1.202 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8063, allocations: 3.938 kB / 1.202 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.8063, allocations: 7.984 kB / 1.202 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.8066, allocations: 331.7 kB / 1.203 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.8067, allocations: 108.8 kB / 1.203 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.8067, allocations: 4 kB / 1.203 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.8068, allocations: 11.98 kB / 1.203 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.8069, allocations: 8 kB / 1.203 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8069, allocations: 8 kB / 1.203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001473/0.807, allocations: 169.7 kB / 1.203 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8071, allocations: 0 / 1.203 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004858/0.8075, allocations: 95.98 kB / 1.203 GB, free: 8.535 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001648/0.8077, allocations: 115.1 kB / 1.203 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.8081, allocations: 273.2 kB / 1.203 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8081, allocations: 0 / 1.203 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.8082, allocations: 47.84 kB / 1.203 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.8087, allocations: 31.3 kB / 1.204 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.8094, allocations: 464.2 kB / 1.204 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.8097, allocations: 0.7441 MB / 1.205 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.8099, allocations: 77.56 kB / 1.205 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.8099, allocations: 15.44 kB / 1.205 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of SimCode: time 1.463e-06/0.81, allocations: 0 / 1.205 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.004204/0.8142, allocations: 1.548 MB / 1.206 GB, free: 5.191 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)