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.001035/0.001035, allocations: 95.62 kB / 15.05 MB, free: 1.109 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.0009465/0.0009468, allocations: 181.3 kB / 15.95 MB, free: 216 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.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.484 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 2.034/2.034, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0007726/0.0007727, allocations: 16.16 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.323, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003465/0.3265, allocations: 2.245 MB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3293, allocations: 1.233 MB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.3295, allocations: 7.938 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.3297, allocations: 23.84 kB / 0.7907 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.3303, allocations: 115.6 kB / 0.7908 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.3308, allocations: 127.7 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.3312, allocations: 151.7 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.3319, allocations: 290 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3321, allocations: 71.75 kB / 0.7914 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3323, allocations: 95.66 kB / 0.7915 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3324, allocations: 8 kB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.3326, allocations: 67.88 kB / 0.7916 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.3327, allocations: 47.89 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.3328, allocations: 61.52 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.3332, allocations: 211.7 kB / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3332, allocations: 0 / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3332, allocations: 0 / 0.7919 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3332, allocations: 0 / 0.7919 GB, free: 7.09 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.0009915/0.3342, allocations: 478.8 kB / 0.7923 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3343, allocations: 12.03 kB / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.3344, allocations: 46.55 kB / 0.7924 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.3352, allocations: 79.61 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.3356, allocations: 230.7 kB / 0.7927 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3357, allocations: 16.27 kB / 0.7927 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.3357, allocations: 12 kB / 0.7927 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.3365, allocations: 313 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3365, allocations: 0 / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.3366, allocations: 8 kB / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.378e-05/0.3367, allocations: 28.27 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.3375, allocations: 268.6 kB / 0.7933 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.3398, allocations: 1.509 MB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.3406, allocations: 261.1 kB / 0.795 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3407, allocations: 4 kB / 0.795 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.3407, allocations: 38.48 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 5.31e-06/0.3407, allocations: 3.984 kB / 0.7951 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001184/0.3419, allocations: 357.5 kB / 0.7954 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.342, allocations: 89.03 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3423, allocations: 171.4 kB / 0.7956 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3423, allocations: 29.69 kB / 0.7957 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3424, allocations: 144.1 kB / 0.7958 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.3425, allocations: 51.19 kB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.3425, allocations: 8 kB / 0.7959 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3427, allocations: 322.8 kB / 0.7962 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.343, allocations: 103.9 kB / 0.7963 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.3434, allocations: 167.6 kB / 0.7964 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.3437, allocations: 135.9 kB / 0.7966 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3438, allocations: 0 / 0.7966 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008237/0.3446, allocations: 317.2 kB / 0.7969 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.3449, allocations: 0.7032 MB / 0.7975 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.345, allocations: 4 kB / 0.7976 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.345, allocations: 4 kB / 0.7976 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.3454, allocations: 51.95 kB / 0.7976 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3454, allocations: 15.86 kB / 0.7976 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3457, allocations: 39.77 kB / 0.7977 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.3458, allocations: 11.98 kB / 0.7977 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.3458, allocations: 0 / 0.7977 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006893/0.3465, allocations: 247.8 kB / 0.7979 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3465, allocations: 0 / 0.7979 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.3465, allocations: 4 kB / 0.7979 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.3468, allocations: 55.95 kB / 0.798 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3469, allocations: 7.891 kB / 0.798 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.3471, allocations: 31.83 kB / 0.798 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3471, allocations: 4 kB / 0.798 GB, free: 360 kB / 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.0002198/0.3474, allocations: 221.2 kB / 0.7982 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.3475, allocations: 19.81 kB / 0.7982 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/0.3483, allocations: 277.7 kB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3483, allocations: 0 / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3483, allocations: 11.95 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3483, allocations: 3.984 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.35, allocations: 0.6811 MB / 0.7992 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3501, allocations: 11.92 kB / 0.7992 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.3505, allocations: 43.95 kB / 0.7992 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.3505, allocations: 7.953 kB / 0.7992 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3506, allocations: 4 kB / 0.7992 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.3506, allocations: 7.938 kB / 0.7993 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3506, allocations: 4 kB / 0.7993 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3516, allocations: 0.5103 MB / 0.7998 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3518, allocations: 116.8 kB / 0.7999 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.3518, allocations: 7.984 kB / 0.7999 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3522, allocations: 23.94 kB / 0.7999 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.3523, allocations: 15.98 kB / 0.7999 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3524, allocations: 4 kB / 0.7999 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001871/0.3526, allocations: 131.8 kB / 0.8 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3526, allocations: 0 / 0.8 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008836/0.3535, allocations: 83.75 kB / 0.8001 GB, free: 14.02 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.001538/0.355, allocations: 1.4 MB / 0.8015 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.3564, allocations: 382.8 kB / 0.8019 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3564, allocations: 4.125 kB / 0.8019 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.3569, allocations: 119.8 kB / 0.802 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.3575, allocations: 42.48 kB / 0.802 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.3614, allocations: 2.307 MB / 0.8043 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.3618, allocations: 0.7596 MB / 0.805 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.3623, allocations: 69.48 kB / 0.8051 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3625, allocations: 55.41 kB / 0.8051 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of SimCode: time 8.02e-07/0.3625, allocations: 0 / 0.8051 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3844, allocations: 3.77 MB / 0.8088 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.3847, allocations: 193.8 kB / 0.809 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.182, allocations: 0 / 0.809 GB, free: 4.887 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: