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.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001198/0.001198, allocations: 182.8 kB / 371.6 MB, free: 3.418 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.618/1.618, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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: 90.36 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.714e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.856/1.112, allocations: 169.2 MB / 1.145 GB, free: 22.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.112, allocations: 97.56 kB / 1.145 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05017/1.163, allocations: 19.23 MB / 1.164 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.486e-06/1.163, allocations: 0 / 1.164 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.633e-05/1.163, allocations: 11.92 kB / 1.164 GB, free: 12.79 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.001232/1.164, allocations: 0.5463 MB / 1.165 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.164, allocations: 8.031 kB / 1.165 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/1.164, allocations: 68.81 kB / 1.165 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.165, allocations: 103.9 kB / 1.165 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/1.166, allocations: 281.5 kB / 1.165 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.166, allocations: 30.75 kB / 1.165 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/1.166, allocations: 27.83 kB / 1.165 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/1.167, allocations: 427.9 kB / 1.165 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.167, allocations: 4 kB / 1.165 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/1.167, allocations: 11.92 kB / 1.165 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/1.167, allocations: 29.42 kB / 1.165 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/1.168, allocations: 340.2 kB / 1.166 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/1.17, allocations: 2.203 MB / 1.168 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/1.17, allocations: 269.7 kB / 1.168 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.171, allocations: 155.4 kB / 1.168 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/1.171, allocations: 6.812 kB / 1.168 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/1.171, allocations: 38.31 kB / 1.168 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/1.171, allocations: 0 / 1.168 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001305/1.172, allocations: 0.8051 MB / 1.169 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.172, allocations: 59.41 kB / 1.169 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/1.172, allocations: 222 kB / 1.169 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/1.172, allocations: 29.2 kB / 1.169 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/1.172, allocations: 183.9 kB / 1.17 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/1.173, allocations: 83.31 kB / 1.17 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/1.173, allocations: 9.125 kB / 1.17 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.173, allocations: 337.6 kB / 1.17 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.173, allocations: 147.6 kB / 1.17 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/1.173, allocations: 224.1 kB / 1.17 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/1.173, allocations: 188.3 kB / 1.171 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.173, allocations: 0 / 1.171 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009395/1.174, allocations: 0.5702 MB / 1.171 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.174, allocations: 7.938 kB / 1.171 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.174, allocations: 4 kB / 1.171 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/1.175, allocations: 180.8 kB / 1.171 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/1.175, allocations: 63.8 kB / 1.171 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/1.178, allocations: 2.276 MB / 1.174 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/1.178, allocations: 15.92 kB / 1.174 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/1.178, allocations: 19.62 kB / 1.174 GB, free: 4.301 MB / 0.7448 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.0001448/1.179, allocations: 119.3 kB / 1.174 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/1.179, allocations: 23.72 kB / 1.174 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/1.179, allocations: 352 kB / 1.174 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/1.179, allocations: 7.953 kB / 1.174 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.057e-05/1.179, allocations: 4.062 kB / 1.174 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.179, allocations: 1.219 kB / 1.174 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.181, allocations: 0.7988 MB / 1.175 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.181, allocations: 0 / 1.175 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/1.181, allocations: 75.94 kB / 1.175 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.181, allocations: 7.953 kB / 1.175 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/1.181, allocations: 7.938 kB / 1.175 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.181, allocations: 0 / 1.175 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.181, allocations: 4.062 kB / 1.175 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/1.182, allocations: 0.6276 MB / 1.176 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/1.182, allocations: 126.7 kB / 1.176 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/1.182, allocations: 14.98 kB / 1.176 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.182, allocations: 11.94 kB / 1.176 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.182, allocations: 19.59 kB / 1.176 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/1.182, allocations: 4.562 kB / 1.176 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001511/1.182, allocations: 176.2 kB / 1.176 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/1.182, allocations: 0 / 1.176 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004722/1.183, allocations: 102.4 kB / 1.176 GB, free: 2.211 MB / 0.7448 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.000992/1.184, allocations: 1.325 MB / 1.177 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008434/1.185, allocations: 0.5248 MB / 1.178 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.185, allocations: 3.938 kB / 1.178 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/1.185, allocations: 144.4 kB / 1.178 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/1.185, allocations: 54.55 kB / 1.178 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/1.187, allocations: 0.7923 MB / 1.179 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/1.187, allocations: 0.8035 MB / 1.18 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002613/1.188, allocations: 75.8 kB / 1.18 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.188, allocations: 80.78 kB / 1.18 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of SimCode: time 4.11e-07/1.188, allocations: 0 / 1.18 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/1.21, allocations: 6.244 MB / 1.186 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.211, allocations: 179.6 kB / 1.186 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/3.163, allocations: 0 / 1.186 GB, free: 8.477 MB / 0.7605 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)