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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005794, allocations: 17.09 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2869, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003165/0.2901, allocations: 2.28 MB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2921, allocations: 1.252 MB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2922, allocations: 7.938 kB / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.2924, allocations: 27.78 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.2928, allocations: 119.4 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2931, allocations: 131.8 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2935, allocations: 295.1 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.294, allocations: 294 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2941, allocations: 87.69 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.2944, allocations: 123.5 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.2944, allocations: 8 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.2946, allocations: 75.88 kB / 0.792 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.2947, allocations: 51.88 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.2947, allocations: 65.5 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.295, allocations: 203.8 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.295, allocations: 4 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.295, allocations: 0 / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.295, allocations: 0 / 0.7923 GB, free: 6.77 MB / 0.6075 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.0007282/0.2957, allocations: 478.8 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2958, allocations: 8.031 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.2959, allocations: 54.48 kB / 0.7928 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.2963, allocations: 71.69 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.2966, allocations: 234.6 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2967, allocations: 12.28 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.2967, allocations: 12 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.2973, allocations: 309 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2973, allocations: 0 / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.2973, allocations: 11.98 kB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.2974, allocations: 28.25 kB / 0.7934 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.2979, allocations: 268.6 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2995, allocations: 1.513 MB / 0.7952 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.3001, allocations: 261 kB / 0.7954 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3003, allocations: 129.6 kB / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3004, allocations: 0 / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3004, allocations: 50.48 kB / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.3004, allocations: 0 / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007862/0.3012, allocations: 357.3 kB / 0.7959 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3013, allocations: 81.11 kB / 0.796 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3015, allocations: 167.2 kB / 0.7962 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3015, allocations: 33.7 kB / 0.7962 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.3016, allocations: 140.1 kB / 0.7963 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.3016, allocations: 59.2 kB / 0.7964 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.3017, allocations: 4 kB / 0.7964 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3018, allocations: 326.8 kB / 0.7967 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.302, allocations: 107.9 kB / 0.7968 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3023, allocations: 171.6 kB / 0.797 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.3025, allocations: 123.9 kB / 0.7971 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3025, allocations: 4.031 kB / 0.7971 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005637/0.3031, allocations: 313.2 kB / 0.7974 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.3032, allocations: 151.1 kB / 0.7975 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3032, allocations: 4 kB / 0.7976 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3032, allocations: 4 kB / 0.7976 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3035, allocations: 59.89 kB / 0.7976 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3036, allocations: 4 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3037, allocations: 31.81 kB / 0.7976 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3038, allocations: 12 kB / 0.7977 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3038, allocations: 4 kB / 0.7977 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004717/0.3043, allocations: 250.4 kB / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3043, allocations: 0 / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.3043, allocations: 4 kB / 0.7979 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3045, allocations: 52.19 kB / 0.798 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3045, allocations: 11.92 kB / 0.798 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3047, allocations: 27.83 kB / 0.798 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3047, allocations: 8 kB / 0.798 GB, free: 0.4922 MB / 0.6075 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 () * Number of clocked 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 0.000187/0.3049, allocations: 221.7 kB / 0.7982 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.305, allocations: 15.81 kB / 0.7982 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.3056, allocations: 287 kB / 0.7985 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3056, allocations: 4 kB / 0.7985 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3056, allocations: 0 / 0.7985 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3056, allocations: 3.938 kB / 0.7985 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3067, allocations: 0.6849 MB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3067, allocations: 4 kB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3069, allocations: 52.02 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3069, allocations: 4 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.307, allocations: 4 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.307, allocations: 11.94 kB / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.307, allocations: 0 / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.3075, allocations: 465.8 kB / 0.7997 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.3076, allocations: 112.8 kB / 0.7998 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3077, allocations: 4 kB / 0.7998 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3079, allocations: 23.97 kB / 0.7998 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3079, allocations: 19.94 kB / 0.7998 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3079, allocations: 4 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001028/0.308, allocations: 131.8 kB / 0.8 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3081, allocations: 0 / 0.8 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004885/0.3086, allocations: 83.75 kB / 0.8001 GB, free: 14.25 MB / 0.6231 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 () * Number of clocked 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.0008266/0.3094, allocations: 0.9985 MB / 0.801 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007232/0.3101, allocations: 383.8 kB / 0.8014 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3101, allocations: 4 kB / 0.8014 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.3104, allocations: 116.7 kB / 0.8015 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3108, allocations: 50.53 kB / 0.8016 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3129, allocations: 1.252 MB / 0.8028 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3133, allocations: 0.7596 MB / 0.8035 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.3135, allocations: 73.47 kB / 0.8036 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3136, allocations: 47.42 kB / 0.8036 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.3136, allocations: 0 / 0.8036 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.3286, allocations: 3.769 MB / 0.8073 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.3289, allocations: 206.3 kB / 0.8075 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.201, allocations: 2.531 kB / 0.8075 GB, free: 6.594 MB / 0.6231 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) Environment - environmentSimulation: