Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.0009763/0.0009764, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 293.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9864/0.9864, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4876, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00522/0.4929, allocations: 3.266 MB / 0.7702 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.4961, allocations: 1.85 MB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.4964, allocations: 4 kB / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/0.4974, allocations: 294.8 kB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005969/0.498, allocations: 207 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.4988, allocations: 295.3 kB / 0.7728 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.4994, allocations: 410.7 kB / 0.7732 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.4998, allocations: 210.4 kB / 0.7734 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.5001, allocations: 155.5 kB / 0.7736 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.5006, allocations: 207.2 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.5007, allocations: 24 kB / 0.7738 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.5011, allocations: 239.5 kB / 0.774 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.5013, allocations: 111.8 kB / 0.7741 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.5014, allocations: 147.3 kB / 0.7742 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.5021, allocations: 473.1 kB / 0.7747 GB, free: 12.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5021, allocations: 0 / 0.7747 GB, free: 12.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5021, allocations: 0 / 0.7747 GB, free: 12.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5021, allocations: 0 / 0.7747 GB, free: 12.12 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001126/0.5033, allocations: 0.5966 MB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5033, allocations: 8.031 kB / 0.7753 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.5041, allocations: 92.47 kB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.5045, allocations: 290.2 kB / 0.7757 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5045, allocations: 20.92 kB / 0.7757 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5047, allocations: 40.73 kB / 0.7757 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.5053, allocations: 437.1 kB / 0.7761 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5053, allocations: 7.938 kB / 0.7761 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.5054, allocations: 8 kB / 0.7761 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.5055, allocations: 44.53 kB / 0.7762 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.5061, allocations: 349.9 kB / 0.7765 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.5084, allocations: 2.199 MB / 0.7787 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.5088, allocations: 266.4 kB / 0.7789 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5091, allocations: 160.8 kB / 0.7791 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.5091, allocations: 4 kB / 0.7791 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5091, allocations: 34.56 kB / 0.7791 GB, free: 7.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.5091, allocations: 3.938 kB / 0.7791 GB, free: 7.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.00176/0.5109, allocations: 1.049 MB / 0.7801 GB, free: 6.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5109, allocations: 59.27 kB / 0.7802 GB, free: 6.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.5112, allocations: 252.8 kB / 0.7804 GB, free: 5.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.5112, allocations: 29.7 kB / 0.7805 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5113, allocations: 191.9 kB / 0.7806 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.5114, allocations: 90.73 kB / 0.7807 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.5115, allocations: 77.55 kB / 0.7808 GB, free: 5.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5117, allocations: 334.8 kB / 0.7811 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.5119, allocations: 147.9 kB / 0.7813 GB, free: 4.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5122, allocations: 237.6 kB / 0.7815 GB, free: 4.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.5126, allocations: 398.8 kB / 0.7819 GB, free: 4.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5127, allocations: 4 kB / 0.7819 GB, free: 4.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.5137, allocations: 0.5938 MB / 0.7825 GB, free: 3.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5138, allocations: 4 kB / 0.7825 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5138, allocations: 4 kB / 0.7825 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.5145, allocations: 184.9 kB / 0.7826 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.5148, allocations: 63.89 kB / 0.7827 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.5176, allocations: 2.496 MB / 0.7851 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.5179, allocations: 23.92 kB / 0.7852 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.5179, allocations: 12 kB / 0.7852 GB, free: 0.7109 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.5181, allocations: 165.8 kB / 0.7853 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.5181, allocations: 31.59 kB / 0.7854 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.5187, allocations: 354 kB / 0.7857 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5187, allocations: 3.984 kB / 0.7857 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5187, allocations: 0 / 0.7857 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.5189, allocations: 120.9 kB / 0.7858 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.519, allocations: 4 kB / 0.7858 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.5192, allocations: 15.98 kB / 0.7858 GB, free: 0 / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.5192, allocations: 15.89 kB / 0.7859 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009597/0.5202, allocations: 0.4924 MB / 0.7863 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000744/0.521, allocations: 0.7 MB / 0.787 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001936/0.5212, allocations: 151.9 kB / 0.7872 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001627/0.5213, allocations: 180.5 kB / 0.7873 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/0.5213, allocations: 0 / 0.7873 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.5227, allocations: 0.602 MB / 0.7879 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00143/0.5241, allocations: 1.183 MB / 0.7891 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.0104/0.5346, allocations: 5.836 MB / 0.7948 GB, free: 6.789 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)