Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.001294/0.001294, allocations: 103.8 kB / 16.27 MB, free: 5.879 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.001109/0.001109, allocations: 183.9 kB / 17.19 MB, free: 5.523 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7422/0.7422, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005615/0.3441, allocations: 3.818 MB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3467, allocations: 1.732 MB / 0.5727 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.347, allocations: 7.969 kB / 0.5727 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3483, allocations: 491.2 kB / 0.5732 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.3488, allocations: 223.8 kB / 0.5734 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.3494, allocations: 210.8 kB / 0.5736 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.3499, allocations: 476 kB / 0.574 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.3504, allocations: 371.1 kB / 0.5744 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.3506, allocations: 191.7 kB / 0.5746 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.351, allocations: 211.5 kB / 0.5748 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.351, allocations: 28.19 kB / 0.5748 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.3515, allocations: 246.1 kB / 0.575 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3516, allocations: 125 kB / 0.5752 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3518, allocations: 171.1 kB / 0.5753 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.3524, allocations: 0.5004 MB / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3524, allocations: 0 / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3524, allocations: 0 / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3524, allocations: 1.562 kB / 0.5758 GB, free: 27.36 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009052/0.3533, allocations: 0.6337 MB / 0.5764 GB, free: 26.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3534, allocations: 11.03 kB / 0.5764 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.3535, allocations: 70.97 kB / 0.5765 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.3544, allocations: 134.2 kB / 0.5766 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3547, allocations: 288.7 kB / 0.5769 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3547, allocations: 21.34 kB / 0.5769 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.3548, allocations: 27.5 kB / 0.577 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.3554, allocations: 468.3 kB / 0.5774 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3554, allocations: 1.406 kB / 0.5774 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3555, allocations: 13.52 kB / 0.5774 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.3555, allocations: 27.41 kB / 0.5775 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.356, allocations: 326.3 kB / 0.5778 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3578, allocations: 2.194 MB / 0.5799 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.3582, allocations: 250.3 kB / 0.5801 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.3585, allocations: 109.4 kB / 0.5802 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3585, allocations: 2.562 kB / 0.5803 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3585, allocations: 37.42 kB / 0.5803 GB, free: 23.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.3585, allocations: 1.719 kB / 0.5803 GB, free: 23.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005805/0.3591, allocations: 296.4 kB / 0.5806 GB, free: 23.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3591, allocations: 55.86 kB / 0.5806 GB, free: 23.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3594, allocations: 272.2 kB / 0.5809 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3594, allocations: 31.86 kB / 0.5809 GB, free: 23.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.3595, allocations: 208.9 kB / 0.5811 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3596, allocations: 49.89 kB / 0.5812 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.3596, allocations: 51.45 kB / 0.5812 GB, free: 23.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.3597, allocations: 336.7 kB / 0.5815 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.3598, allocations: 58.55 kB / 0.5816 GB, free: 22.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3599, allocations: 149.7 kB / 0.5817 GB, free: 22.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3601, allocations: 217.7 kB / 0.5819 GB, free: 22.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3602, allocations: 0 / 0.5819 GB, free: 22.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000377/0.3605, allocations: 266.6 kB / 0.5822 GB, free: 22.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3606, allocations: 6.906 kB / 0.5822 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3606, allocations: 3.281 kB / 0.5822 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.3607, allocations: 29.25 kB / 0.5822 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3609, allocations: 46.72 kB / 0.5823 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007813/0.3617, allocations: 1.423 MB / 0.5837 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.3619, allocations: 31.3 kB / 0.5837 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3619, allocations: 13.16 kB / 0.5837 GB, free: 21.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3621, allocations: 167.3 kB / 0.5839 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3621, allocations: 23.47 kB / 0.5839 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.3622, allocations: 27.38 kB / 0.5839 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3622, allocations: 4.312 kB / 0.5839 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3622, allocations: 0 / 0.5839 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3622, allocations: 0.5625 kB / 0.5839 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.3629, allocations: 0.7062 MB / 0.5846 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.363, allocations: 1.594 kB / 0.5846 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.363, allocations: 27.17 kB / 0.5846 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.3631, allocations: 26.91 kB / 0.5847 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3632, allocations: 5.625 kB / 0.5847 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.3639, allocations: 1.419 MB / 0.5861 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.364, allocations: 5.906 kB / 0.5861 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3643, allocations: 321 kB / 0.5864 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.3644, allocations: 113.1 kB / 0.5865 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3644, allocations: 11.44 kB / 0.5865 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3646, allocations: 5.906 kB / 0.5865 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.3646, allocations: 19.14 kB / 0.5865 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3646, allocations: 4.438 kB / 0.5865 GB, free: 18.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3648, allocations: 195.3 kB / 0.5867 GB, free: 18.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 0 / 0.5867 GB, free: 18.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.3653, allocations: 77.5 kB / 0.5868 GB, free: 18.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005595/0.3658, allocations: 0.8604 MB / 0.5876 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3663, allocations: 276.8 kB / 0.5879 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3663, allocations: 0.75 kB / 0.5879 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.3665, allocations: 189.5 kB / 0.5881 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3671, allocations: 53.45 kB / 0.5881 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3695, allocations: 2.718 MB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.3698, allocations: 0.7962 MB / 0.5915 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.3699, allocations: 43.94 kB / 0.5916 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.37, allocations: 83.97 kB / 0.5917 GB, free: 13.99 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.37, allocations: 0 / 0.5917 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.3952, allocations: 5.269 MB / 0.5968 GB, free: 11.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/8.911, allocations: 3.531 kB / 0.5968 GB, free: 11.43 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)