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.661/1.661, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001505/0.001505, allocations: 188.8 kB / 361.4 MB, free: 6.84 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.86/1.86, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008171/0.000817, allocations: 94.31 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7112, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.9346, allocations: 167.5 MB / 1.128 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.935, allocations: 95.94 kB / 1.128 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04894/0.9839, allocations: 19.17 MB / 1.147 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.934e-06/0.984, allocations: 0 / 1.147 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.984, allocations: 8 kB / 1.147 GB, free: 0.8008 MB / 0.7448 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.001012/0.985, allocations: 0.5499 MB / 1.147 GB, free: 212 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9851, allocations: 12.03 kB / 1.147 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.986, allocations: 108.5 kB / 1.148 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.9865, allocations: 287.8 kB / 1.148 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.9866, allocations: 8 kB / 1.148 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.9866, allocations: 16 kB / 1.148 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000444/0.9871, allocations: 249 kB / 1.148 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.9876, allocations: 392.2 kB / 1.148 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.9877, allocations: 3.938 kB / 1.148 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.9877, allocations: 8 kB / 1.148 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.9878, allocations: 26.52 kB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.9901, allocations: 2.144 MB / 1.151 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.9905, allocations: 250.8 kB / 1.151 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.9908, allocations: 153.2 kB / 1.151 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.9908, allocations: 8.188 kB / 1.151 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.9908, allocations: 30.75 kB / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.9908, allocations: 0 / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001257/0.9921, allocations: 0.779 MB / 1.152 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.9921, allocations: 55.41 kB / 1.152 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.9923, allocations: 194.1 kB / 1.152 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.9924, allocations: 29.7 kB / 1.152 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9925, allocations: 188.2 kB / 1.152 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.9925, allocations: 82.75 kB / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.9926, allocations: 0 / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9927, allocations: 338.8 kB / 1.153 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.9929, allocations: 136 kB / 1.153 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.9932, allocations: 230.7 kB / 1.153 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.9935, allocations: 171.9 kB / 1.153 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9935, allocations: 4 kB / 1.153 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009843/0.9945, allocations: 0.5375 MB / 1.154 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9945, allocations: 13.7 kB / 1.154 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.9945, allocations: 4 kB / 1.154 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.9951, allocations: 172.7 kB / 1.154 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.9954, allocations: 61.33 kB / 1.154 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.9979, allocations: 2.188 MB / 1.156 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.9982, allocations: 15.19 kB / 1.156 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.9982, allocations: 16 kB / 1.156 GB, free: 6.84 MB / 0.7605 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 () * 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.0001194/0.9983, allocations: 119 kB / 1.156 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004396/0.9988, allocations: 301.1 kB / 1.156 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.9988, allocations: 23.75 kB / 1.156 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.9993, allocations: 328.7 kB / 1.157 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9994, allocations: 0 / 1.157 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.9994, allocations: 3.953 kB / 1.157 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9994, allocations: 4 kB / 1.157 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000931/1, allocations: 0.7347 MB / 1.158 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1, allocations: 0 / 1.158 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/1.001, allocations: 75.88 kB / 1.158 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.001, allocations: 0 / 1.158 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/1.001, allocations: 13.91 kB / 1.158 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.001, allocations: 0 / 1.158 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.001, allocations: 4 kB / 1.158 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/1.001, allocations: 0.6109 MB / 1.158 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.002, allocations: 124.8 kB / 1.158 GB, free: 4.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/1.002, allocations: 8 kB / 1.158 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/1.002, allocations: 12.02 kB / 1.158 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/1.002, allocations: 15.97 kB / 1.158 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.002, allocations: 8 kB / 1.158 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001351/1.002, allocations: 160.1 kB / 1.159 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/1.002, allocations: 0 / 1.159 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004413/1.003, allocations: 84 kB / 1.159 GB, free: 4.125 MB / 0.7605 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 () * 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.001071/1.004, allocations: 1.304 MB / 1.16 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008235/1.004, allocations: 494.5 kB / 1.16 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.004, allocations: 128 / 1.16 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.005, allocations: 147.8 kB / 1.161 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.005, allocations: 44.7 kB / 1.161 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.007, allocations: 0.7794 MB / 1.161 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/1.007, allocations: 0.8029 MB / 1.162 GB, free: 472 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.007, allocations: 72.75 kB / 1.162 GB, free: 400 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.007, allocations: 83.41 kB / 1.162 GB, free: 316 kB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/1.007, allocations: 0 / 1.162 GB, free: 316 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/1.033, allocations: 5.622 MB / 1.168 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.033, allocations: 158.7 kB / 1.168 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.904, allocations: 0 / 1.168 GB, free: 10.62 MB / 0.7761 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)