Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.676/1.676, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.00214/0.002141, allocations: 184.8 kB / 366.7 MB, free: 1.645 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.643/1.643, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.001073/0.001073, allocations: 90.64 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.396e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6941, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.9021, allocations: 154.3 MB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.9024, allocations: 92.58 kB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03205/0.9344, allocations: 13.32 MB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9345, allocations: 0 / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.9345, allocations: 8 kB / 1.137 GB, free: 14.33 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006646/0.9352, allocations: 479 kB / 1.138 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.9352, allocations: 8.031 kB / 1.138 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.9358, allocations: 89.28 kB / 1.138 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.9361, allocations: 246.5 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.9362, allocations: 4 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.9362, allocations: 8 kB / 1.138 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003224/0.9365, allocations: 175.9 kB / 1.138 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.9369, allocations: 271.2 kB / 1.138 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.937, allocations: 0 / 1.138 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.937, allocations: 0 / 1.138 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.937, allocations: 23.92 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.9386, allocations: 1.455 MB / 1.14 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.939, allocations: 237.2 kB / 1.14 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.9392, allocations: 109.7 kB / 1.14 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.9392, allocations: 7.938 kB / 1.14 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.9393, allocations: 38.5 kB / 1.14 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.9393, allocations: 0 / 1.14 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004058/0.9397, allocations: 213.7 kB / 1.14 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.9397, allocations: 81.11 kB / 1.14 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.9399, allocations: 147.2 kB / 1.141 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9399, allocations: 25.7 kB / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.94, allocations: 143.3 kB / 1.141 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.94, allocations: 51.2 kB / 1.141 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.9401, allocations: 0 / 1.141 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9402, allocations: 330.8 kB / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.9403, allocations: 87.94 kB / 1.141 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.9405, allocations: 144.5 kB / 1.141 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.9407, allocations: 107.9 kB / 1.141 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9407, allocations: 0 / 1.141 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003763/0.941, allocations: 262.5 kB / 1.142 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.9414, allocations: 0.7032 MB / 1.142 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9414, allocations: 4 kB / 1.142 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9414, allocations: 0 / 1.142 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.9417, allocations: 63.89 kB / 1.142 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.9417, allocations: 11.22 kB / 1.142 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.9419, allocations: 31.81 kB / 1.142 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.942, allocations: 12 kB / 1.142 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.942, allocations: 4 kB / 1.142 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002722/0.9422, allocations: 180.6 kB / 1.143 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.9423, allocations: 0 / 1.143 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.9423, allocations: 4 kB / 1.143 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.9425, allocations: 60.12 kB / 1.143 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9425, allocations: 7.984 kB / 1.143 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.9427, allocations: 27.81 kB / 1.143 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.9427, allocations: 8 kB / 1.143 GB, free: 8.137 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 8.602e-05/0.9428, allocations: 116.9 kB / 1.143 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003202/0.9431, allocations: 213.3 kB / 1.143 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.9432, allocations: 11.91 kB / 1.143 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.9436, allocations: 240.5 kB / 1.143 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.9436, allocations: 0 / 1.143 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9436, allocations: 3.938 kB / 1.143 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9436, allocations: 7.172 kB / 1.143 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.9444, allocations: 0.5958 MB / 1.144 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9444, allocations: 4.125 kB / 1.144 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9447, allocations: 42.03 kB / 1.144 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.9447, allocations: 7.984 kB / 1.144 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.9447, allocations: 0 / 1.144 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9447, allocations: 4 kB / 1.144 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.9447, allocations: 3.938 kB / 1.144 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.9452, allocations: 481.2 kB / 1.144 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.9453, allocations: 116.8 kB / 1.145 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.9453, allocations: 4 kB / 1.145 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.9455, allocations: 19.97 kB / 1.145 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.9456, allocations: 19.81 kB / 1.145 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.9456, allocations: 4 kB / 1.145 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.056e-05/0.9457, allocations: 132.3 kB / 1.145 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9457, allocations: 0 / 1.145 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004578/0.9462, allocations: 83.84 kB / 1.145 GB, free: 5.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008239/0.947, allocations: 1.348 MB / 1.146 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.9475, allocations: 315.5 kB / 1.146 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9475, allocations: 256 / 1.146 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.9477, allocations: 99.89 kB / 1.147 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.948, allocations: 34.53 kB / 1.147 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.9488, allocations: 372.2 kB / 1.147 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.9492, allocations: 0.7522 MB / 1.148 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.9494, allocations: 81 kB / 1.148 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.9496, allocations: 51.42 kB / 1.148 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.9496, allocations: 0 / 1.148 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.9734, allocations: 3.556 MB / 1.151 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.9736, allocations: 152.1 kB / 1.151 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.54, allocations: 0 / 1.151 GB, free: 15.08 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)