Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_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.00102/0.00102, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001026/0.001026, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7076/0.7076, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3016, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003701/0.3054, allocations: 2.622 MB / 0.5699 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3071, allocations: 1.309 MB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.3072, allocations: 3.344 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.3078, allocations: 179.2 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.3081, allocations: 167.3 kB / 0.5715 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3084, allocations: 162.6 kB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3087, allocations: 265.3 kB / 0.5719 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.309, allocations: 144.1 kB / 0.572 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3091, allocations: 103.3 kB / 0.5721 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3093, allocations: 122.8 kB / 0.5722 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3094, allocations: 14.75 kB / 0.5722 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.3096, allocations: 151.7 kB / 0.5724 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.3097, allocations: 66.38 kB / 0.5725 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.3097, allocations: 92.11 kB / 0.5725 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.3101, allocations: 293.1 kB / 0.5728 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3101, allocations: 0.9375 kB / 0.5728 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3101, allocations: 1.406 kB / 0.5728 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3101, allocations: 1.094 kB / 0.5728 GB, free: 29.27 MB / 446.1 MB 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.0006258/0.3107, allocations: 499.2 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3108, allocations: 9.812 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.3108, allocations: 53.3 kB / 0.5734 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.3113, allocations: 68.5 kB / 0.5734 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3115, allocations: 238.9 kB / 0.5737 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3115, allocations: 11.98 kB / 0.5737 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3116, allocations: 13.34 kB / 0.5737 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.312, allocations: 312.6 kB / 0.574 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3121, allocations: 5.703 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3121, allocations: 5.75 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.3121, allocations: 32.89 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.3126, allocations: 258.1 kB / 0.5743 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3139, allocations: 1.499 MB / 0.5757 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.3143, allocations: 264.2 kB / 0.576 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.3145, allocations: 127.9 kB / 0.5761 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3146, allocations: 4.031 kB / 0.5761 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.3146, allocations: 37.41 kB / 0.5761 GB, free: 26.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.3146, allocations: 0 / 0.5761 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006944/0.3153, allocations: 341.2 kB / 0.5765 GB, free: 26.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3153, allocations: 83.58 kB / 0.5765 GB, free: 26.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3155, allocations: 177.5 kB / 0.5767 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3155, allocations: 31.14 kB / 0.5767 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3155, allocations: 141.1 kB / 0.5769 GB, free: 26.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3156, allocations: 59.61 kB / 0.5769 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.3157, allocations: 44.34 kB / 0.577 GB, free: 26.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.3157, allocations: 331.1 kB / 0.5773 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3159, allocations: 105.5 kB / 0.5774 GB, free: 25.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3161, allocations: 166.6 kB / 0.5776 GB, free: 25.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.3165, allocations: 285.4 kB / 0.5778 GB, free: 25.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3166, allocations: 1.719 kB / 0.5778 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004888/0.317, allocations: 303.7 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3171, allocations: 10.61 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3171, allocations: 1.781 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3171, allocations: 4.125 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3174, allocations: 56.7 kB / 0.5782 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3174, allocations: 13.38 kB / 0.5782 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.3176, allocations: 36.33 kB / 0.5782 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3176, allocations: 12.22 kB / 0.5782 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002115/0.3178, allocations: 191.9 kB / 0.5784 GB, free: 25.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001769/0.318, allocations: 155.4 kB / 0.5786 GB, free: 25.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003275/0.3183, allocations: 255.4 kB / 0.5788 GB, free: 25.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.3183, allocations: 1.375 kB / 0.5788 GB, free: 25.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004376/0.3188, allocations: 273.8 kB / 0.5791 GB, free: 24.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.567e-06/0.3188, allocations: 8.062 kB / 0.5791 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.3188, allocations: 2.469 kB / 0.5791 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.3188, allocations: 7.062 kB / 0.5791 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.319, allocations: 56.61 kB / 0.5792 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.319, allocations: 3.625 kB / 0.5792 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3192, allocations: 30.5 kB / 0.5792 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3192, allocations: 8.109 kB / 0.5792 GB, free: 24.89 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.3193, allocations: 199.5 kB / 0.5794 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3193, allocations: 14.91 kB / 0.5794 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.3198, allocations: 267.2 kB / 0.5797 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3199, allocations: 1.375 kB / 0.5797 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3199, allocations: 5.844 kB / 0.5797 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3199, allocations: 2.172 kB / 0.5797 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.3208, allocations: 0.6806 MB / 0.5803 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3208, allocations: 2.688 kB / 0.5803 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.321, allocations: 48.53 kB / 0.5804 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.321, allocations: 5.812 kB / 0.5804 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.321, allocations: 3.469 kB / 0.5804 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.321, allocations: 4.188 kB / 0.5804 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.321, allocations: 1.375 kB / 0.5804 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.3215, allocations: 455.1 kB / 0.5808 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.3216, allocations: 113.7 kB / 0.5809 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3216, allocations: 7.562 kB / 0.5809 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3218, allocations: 21.53 kB / 0.581 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3219, allocations: 14.34 kB / 0.581 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3219, allocations: 6.25 kB / 0.581 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.322, allocations: 138.7 kB / 0.5811 GB, free: 23.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.322, allocations: 0.5625 kB / 0.5811 GB, free: 23.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.3224, allocations: 84.56 kB / 0.5812 GB, free: 23.57 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005893/0.323, allocations: 0.9845 MB / 0.5822 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.3237, allocations: 389.9 kB / 0.5825 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3237, allocations: 1.25 kB / 0.5825 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3239, allocations: 117.9 kB / 0.5826 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3243, allocations: 33.48 kB / 0.5827 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.3266, allocations: 2.447 MB / 0.5851 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3267, allocations: 0.745 MB / 0.5858 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3269, allocations: 76.91 kB / 0.5859 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.327, allocations: 49.33 kB / 0.5859 GB, free: 19.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.327, allocations: 0 / 0.5859 GB, free: 19.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.3454, allocations: 4.136 MB / 0.5899 GB, free: 17.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/7.262, allocations: 10.11 kB / 0.59 GB, free: 17.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)