Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001538, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.001513/0.001514, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.698/2.698, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 72.31 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7835, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006238/0.7898, allocations: 4.205 MB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005293/0.7952, allocations: 2.8 MB / 1.09 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.7956, allocations: 10.03 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.7969, allocations: 372.6 kB / 1.09 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.7982, allocations: 417.9 kB / 1.091 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.7997, allocations: 0.5085 MB / 1.091 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.8007, allocations: 0.6894 MB / 1.092 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.8013, allocations: 346.9 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.8018, allocations: 263.6 kB / 1.092 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.8024, allocations: 337.4 kB / 1.093 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.8025, allocations: 42.31 kB / 1.093 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007607/0.8032, allocations: 350.1 kB / 1.093 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.8035, allocations: 187.2 kB / 1.093 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.8038, allocations: 254.8 kB / 1.093 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.8049, allocations: 0.7329 MB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8049, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8049, allocations: 0.875 kB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.8049, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001596/0.8065, allocations: 0.8161 MB / 1.095 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8066, allocations: 10.83 kB / 1.095 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.8079, allocations: 187.8 kB / 1.095 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.8085, allocations: 366.4 kB / 1.095 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.8085, allocations: 30.19 kB / 1.095 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.8086, allocations: 42.52 kB / 1.096 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.8101, allocations: 0.8456 MB / 1.096 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.8101, allocations: 6.25 kB / 1.096 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.8102, allocations: 23.14 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/0.8103, allocations: 67.55 kB / 1.096 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.8118, allocations: 0.6625 MB / 1.097 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.8169, allocations: 4.668 MB / 1.102 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.8181, allocations: 0.5054 MB / 1.102 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.8187, allocations: 281.7 kB / 1.102 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.8187, allocations: 7.406 kB / 1.102 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.8188, allocations: 41.61 kB / 1.102 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/0.8188, allocations: 0 / 1.102 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.002131/0.8209, allocations: 0.8808 MB / 1.103 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.821, allocations: 88.48 kB / 1.103 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.8215, allocations: 372.3 kB / 1.104 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.8215, allocations: 32.73 kB / 1.104 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.8218, allocations: 285.5 kB / 1.104 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.8219, allocations: 125.4 kB / 1.104 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.8221, allocations: 119.2 kB / 1.104 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8223, allocations: 353.4 kB / 1.105 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.8229, allocations: 266.2 kB / 1.105 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.8237, allocations: 488.1 kB / 1.105 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.8251, allocations: 0.772 MB / 1.106 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.8251, allocations: 3.172 kB / 1.106 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001624/0.8267, allocations: 0.7833 MB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.8268, allocations: 8.844 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.8268, allocations: 6.75 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.8268, allocations: 11.06 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.8275, allocations: 175.3 kB / 1.107 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.8276, allocations: 16.3 kB / 1.107 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.8282, allocations: 71.22 kB / 1.107 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.8283, allocations: 28.44 kB / 1.107 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007063/0.829, allocations: 361.8 kB / 1.108 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007076/0.8297, allocations: 455.8 kB / 1.108 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001223/0.8309, allocations: 0.6739 MB / 1.109 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.8309, allocations: 2.062 kB / 1.109 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001518/0.8325, allocations: 0.6852 MB / 1.109 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8325, allocations: 12.7 kB / 1.109 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8325, allocations: 12 kB / 1.109 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.8325, allocations: 11.34 kB / 1.109 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.8332, allocations: 155.2 kB / 1.109 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.8332, allocations: 17.69 kB / 1.109 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.8338, allocations: 58.48 kB / 1.11 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.8338, allocations: 32.77 kB / 1.11 GB, free: 0.7539 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002805/0.8341, allocations: 220.1 kB / 1.11 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.8342, allocations: 43.95 kB / 1.11 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.8356, allocations: 0.5747 MB / 1.11 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.8356, allocations: 7.422 kB / 1.11 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8356, allocations: 1.094 kB / 1.11 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8356, allocations: 7.344 kB / 1.11 GB, free: 300 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.8387, allocations: 1.608 MB / 1.112 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.8387, allocations: 4.562 kB / 1.112 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.8392, allocations: 122.1 kB / 1.112 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.8393, allocations: 6.094 kB / 1.112 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.8393, allocations: 9.531 kB / 1.112 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.8393, allocations: 6.344 kB / 1.112 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.8393, allocations: 8.188 kB / 1.112 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.8406, allocations: 0.7767 MB / 1.113 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.8409, allocations: 168.7 kB / 1.113 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.841, allocations: 12.34 kB / 1.113 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.8416, allocations: 56.08 kB / 1.113 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.8417, allocations: 34.45 kB / 1.113 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.8417, allocations: 15.28 kB / 1.113 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004603/0.8422, allocations: 273.8 kB / 1.113 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8422, allocations: 0 / 1.113 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001109/0.8433, allocations: 195 kB / 1.114 GB, free: 14.61 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.00019/0.8435, allocations: 110 kB / 1.114 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.8458, allocations: 0.9692 MB / 1.115 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.8458, allocations: 0 / 1.115 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.8463, allocations: 272 kB / 1.115 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.8472, allocations: 116 kB / 1.115 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.8494, allocations: 1.082 MB / 1.116 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.85, allocations: 0.8714 MB / 1.117 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.8503, allocations: 45.34 kB / 1.117 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of SimCode: time 8.01e-07/0.8503, allocations: 0 / 1.117 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of Templates: time 0.01472/0.865, allocations: 6.605 MB / 1.123 GB, free: 10.43 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)