Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.6305 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008744/0.0008742, allocations: 103.8 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005325, allocations: 15.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8431/1.101, allocations: 168.3 MB / 1.144 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.101, allocations: 101 kB / 1.144 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04305/1.144, allocations: 19.35 MB / 1.163 GB, free: 13.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.434e-06/1.144, allocations: 0 / 1.163 GB, free: 13.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.384e-05/1.144, allocations: 4 kB / 1.163 GB, free: 13.29 MB / 0.698 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.001371/1.146, allocations: 0.573 MB / 1.163 GB, free: 12.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/1.146, allocations: 16.02 kB / 1.163 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/1.146, allocations: 64.8 kB / 1.163 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.147, allocations: 110.9 kB / 1.164 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/1.148, allocations: 285.5 kB / 1.164 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.148, allocations: 19.75 kB / 1.164 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/1.148, allocations: 29.08 kB / 1.164 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/1.149, allocations: 433.9 kB / 1.164 GB, free: 11.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.149, allocations: 4 kB / 1.164 GB, free: 11.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/1.149, allocations: 10.62 kB / 1.164 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/1.149, allocations: 31.78 kB / 1.164 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/1.149, allocations: 348.7 kB / 1.165 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/1.152, allocations: 2.198 MB / 1.167 GB, free: 9.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/1.153, allocations: 269.7 kB / 1.167 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/1.153, allocations: 4.188 kB / 1.167 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.153, allocations: 34.69 kB / 1.167 GB, free: 9.145 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.255e-06/1.153, allocations: 0 / 1.167 GB, free: 9.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.00188/1.155, allocations: 1.059 MB / 1.168 GB, free: 8.254 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.155, allocations: 55.41 kB / 1.168 GB, free: 8.188 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/1.155, allocations: 219.7 kB / 1.168 GB, free: 8.004 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.155, allocations: 29.02 kB / 1.168 GB, free: 7.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.155, allocations: 185.3 kB / 1.169 GB, free: 7.809 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/1.155, allocations: 87.11 kB / 1.169 GB, free: 7.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/1.155, allocations: 10.62 kB / 1.169 GB, free: 7.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.155, allocations: 335.5 kB / 1.169 GB, free: 7.402 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/1.156, allocations: 150.3 kB / 1.169 GB, free: 7.305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/1.156, allocations: 230.8 kB / 1.169 GB, free: 7.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/1.156, allocations: 193.5 kB / 1.17 GB, free: 6.984 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.156, allocations: 0 / 1.17 GB, free: 6.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001135/1.157, allocations: 0.5733 MB / 1.17 GB, free: 6.555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.157, allocations: 8 kB / 1.17 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.157, allocations: 4 kB / 1.17 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007102/1.158, allocations: 184.9 kB / 1.17 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.158, allocations: 59.28 kB / 1.17 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/1.161, allocations: 2.348 MB / 1.173 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/1.162, allocations: 18.77 kB / 1.173 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/1.162, allocations: 12 kB / 1.173 GB, free: 4.219 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002729/1.162, allocations: 163.4 kB / 1.173 GB, free: 4.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/1.162, allocations: 23.72 kB / 1.173 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/1.163, allocations: 359.4 kB / 1.173 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.163, allocations: 11.98 kB / 1.173 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.163, allocations: 3.953 kB / 1.173 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.163, allocations: 0 / 1.173 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/1.164, allocations: 0.8068 MB / 1.174 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.164, allocations: 0 / 1.174 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/1.164, allocations: 67.94 kB / 1.174 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.164, allocations: 7.953 kB / 1.174 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.164, allocations: 11.31 kB / 1.174 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.165, allocations: 0 / 1.174 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.165, allocations: 3.938 kB / 1.174 GB, free: 3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/1.165, allocations: 0.6273 MB / 1.175 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.165, allocations: 135 kB / 1.175 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/1.166, allocations: 6.938 kB / 1.175 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.166, allocations: 15.55 kB / 1.175 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/1.166, allocations: 11.98 kB / 1.175 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.166, allocations: 7.188 kB / 1.175 GB, free: 2.328 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001923/1.166, allocations: 186.7 kB / 1.175 GB, free: 2.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.166, allocations: 3.938 kB / 1.175 GB, free: 2.168 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000495/1.167, allocations: 98.12 kB / 1.175 GB, free: 2.082 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.001201/1.168, allocations: 1.323 MB / 1.176 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009103/1.169, allocations: 0.5307 MB / 1.177 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.169, allocations: 0 / 1.177 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/1.169, allocations: 157.2 kB / 1.177 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/1.169, allocations: 49.47 kB / 1.177 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/1.173, allocations: 3.766 MB / 1.181 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/1.174, allocations: 0.7976 MB / 1.182 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002436/1.174, allocations: 82.89 kB / 1.182 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.174, allocations: 81.78 kB / 1.182 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/1.174, allocations: 0 / 1.182 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/1.195, allocations: 6.267 MB / 1.188 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.195, allocations: 216.9 kB / 1.188 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/3.239, allocations: 5.938 kB / 1.188 GB, free: 5.566 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)