Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.6 MB / 307.5 MB, free: 5.109 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.001201/0.001201, allocations: 185 kB / 377.1 MB, free: 1.414 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.737/1.737, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0008772/0.0008772, allocations: 87.45 kB / 0.7509 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003462, allocations: 11.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2825, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/1.093, allocations: 169.3 MB / 1.154 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.093, allocations: 96.55 kB / 1.154 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04582/1.139, allocations: 19.36 MB / 1.173 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.276e-06/1.139, allocations: 3.938 kB / 1.173 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.271e-05/1.139, allocations: 11.92 kB / 1.173 GB, free: 9.691 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.00122/1.14, allocations: 0.5667 MB / 1.173 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.141, allocations: 19.95 kB / 1.173 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/1.141, allocations: 66.52 kB / 1.173 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009136/1.142, allocations: 105.6 kB / 1.173 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/1.142, allocations: 287.8 kB / 1.174 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/1.142, allocations: 25.67 kB / 1.174 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/1.142, allocations: 31.34 kB / 1.174 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/1.143, allocations: 429.1 kB / 1.174 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.143, allocations: 4 kB / 1.174 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/1.143, allocations: 15.98 kB / 1.174 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/1.143, allocations: 24.55 kB / 1.174 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/1.144, allocations: 349.9 kB / 1.175 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/1.147, allocations: 2.198 MB / 1.177 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/1.147, allocations: 268.6 kB / 1.177 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/1.147, allocations: 4.188 kB / 1.177 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.147, allocations: 38.73 kB / 1.177 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.935e-06/1.147, allocations: 0 / 1.177 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001875/1.149, allocations: 1.053 MB / 1.178 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/1.149, allocations: 55.41 kB / 1.178 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/1.149, allocations: 216.2 kB / 1.178 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.149, allocations: 29.7 kB / 1.178 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.15, allocations: 183.9 kB / 1.179 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/1.15, allocations: 86.75 kB / 1.179 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/1.15, allocations: 12 kB / 1.179 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.15, allocations: 338.8 kB / 1.179 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.15, allocations: 151.9 kB / 1.179 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/1.15, allocations: 235.3 kB / 1.179 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/1.151, allocations: 182.7 kB / 1.179 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.151, allocations: 4 kB / 1.179 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001077/1.152, allocations: 0.5757 MB / 1.18 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.152, allocations: 8.625 kB / 1.18 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.152, allocations: 4 kB / 1.18 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006697/1.152, allocations: 180.9 kB / 1.18 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/1.153, allocations: 63.89 kB / 1.18 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/1.156, allocations: 2.347 MB / 1.183 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.156, allocations: 19.98 kB / 1.183 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.156, allocations: 12 kB / 1.183 GB, free: 14.96 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 () * 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.0002203/1.156, allocations: 165.8 kB / 1.183 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/1.156, allocations: 23.7 kB / 1.183 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/1.157, allocations: 361.4 kB / 1.183 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.157, allocations: 0 / 1.183 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.157, allocations: 7.953 kB / 1.183 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.157, allocations: 3.984 kB / 1.183 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.158, allocations: 0.8015 MB / 1.184 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.158, allocations: 0 / 1.184 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/1.159, allocations: 71.88 kB / 1.184 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.159, allocations: 7.953 kB / 1.184 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/1.159, allocations: 12.05 kB / 1.184 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.159, allocations: 4 kB / 1.184 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.159, allocations: 0 / 1.184 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/1.16, allocations: 0.6335 MB / 1.185 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/1.16, allocations: 137.8 kB / 1.185 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/1.16, allocations: 8 kB / 1.185 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.16, allocations: 11.98 kB / 1.185 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.16, allocations: 11.98 kB / 1.185 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.16, allocations: 7.938 kB / 1.185 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000188/1.16, allocations: 180.5 kB / 1.185 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 4 kB / 1.185 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004785/1.161, allocations: 99.94 kB / 1.185 GB, free: 12.31 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 () * 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.001294/1.162, allocations: 1.326 MB / 1.186 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000948/1.163, allocations: 0.5378 MB / 1.187 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.163, allocations: 0 / 1.187 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/1.163, allocations: 147.8 kB / 1.187 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.164, allocations: 46.17 kB / 1.187 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/1.168, allocations: 3.768 MB / 1.191 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/1.168, allocations: 0.799 MB / 1.192 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002508/1.169, allocations: 72.98 kB / 1.192 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/1.169, allocations: 87.39 kB / 1.192 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/1.169, allocations: 3.938 kB / 1.192 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/1.189, allocations: 6.251 MB / 1.198 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.189, allocations: 201.5 kB / 1.198 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.231, allocations: 0 / 1.198 GB, free: 15.11 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)