Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.001027/0.001027, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001079/0.001079, allocations: 192 kB / 17.2 MB, free: 5.609 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7581/0.7581, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004705/0.3231, allocations: 3.832 MB / 0.571 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3253, allocations: 1.776 MB / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3255, allocations: 7.094 kB / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3266, allocations: 447.9 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.3269, allocations: 242.6 kB / 0.5734 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3274, allocations: 253.2 kB / 0.5737 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.3279, allocations: 0.4986 MB / 0.5742 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.3284, allocations: 357.9 kB / 0.5745 GB, free: 28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.3286, allocations: 197.7 kB / 0.5747 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.3289, allocations: 236.3 kB / 0.5749 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.329, allocations: 30.47 kB / 0.5749 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.3293, allocations: 189 kB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3294, allocations: 133.2 kB / 0.5752 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3296, allocations: 175.6 kB / 0.5754 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3301, allocations: 490.1 kB / 0.5759 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3301, allocations: 1.188 kB / 0.5759 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3301, allocations: 4.812 kB / 0.5759 GB, free: 27.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3301, allocations: 0 / 0.5759 GB, free: 27.42 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009057/0.331, allocations: 0.6649 MB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3311, allocations: 9.875 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.3311, allocations: 71.03 kB / 0.5766 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.3316, allocations: 84.59 kB / 0.5767 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3319, allocations: 292.6 kB / 0.577 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.332, allocations: 24.56 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.332, allocations: 31.86 kB / 0.577 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.3327, allocations: 488.8 kB / 0.5775 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3327, allocations: 0 / 0.5775 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.3328, allocations: 13.42 kB / 0.5775 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.3328, allocations: 42.56 kB / 0.5775 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.3335, allocations: 363.5 kB / 0.5779 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3351, allocations: 2.044 MB / 0.5799 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.3356, allocations: 214.4 kB / 0.5801 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.336, allocations: 157.5 kB / 0.5802 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.336, allocations: 9 kB / 0.5802 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3361, allocations: 32.64 kB / 0.5803 GB, free: 24.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.3361, allocations: 0 / 0.5803 GB, free: 24.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009818/0.3371, allocations: 425.3 kB / 0.5807 GB, free: 24.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.3371, allocations: 54.42 kB / 0.5807 GB, free: 23.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3373, allocations: 272.9 kB / 0.581 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3373, allocations: 29.7 kB / 0.581 GB, free: 23.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3374, allocations: 208 kB / 0.5812 GB, free: 23.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3375, allocations: 59.58 kB / 0.5813 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.3375, allocations: 61.08 kB / 0.5813 GB, free: 23.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.3376, allocations: 336.9 kB / 0.5817 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3378, allocations: 101.3 kB / 0.5818 GB, free: 23.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3381, allocations: 204.1 kB / 0.582 GB, free: 22.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3386, allocations: 307.8 kB / 0.5822 GB, free: 22.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3386, allocations: 0.5312 kB / 0.5822 GB, free: 22.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006633/0.3393, allocations: 358.6 kB / 0.5826 GB, free: 22.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3393, allocations: 8.594 kB / 0.5826 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3393, allocations: 4.125 kB / 0.5826 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.3395, allocations: 36.83 kB / 0.5826 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3397, allocations: 77.39 kB / 0.5827 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.3405, allocations: 1.433 MB / 0.5841 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3408, allocations: 47.77 kB / 0.5842 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3408, allocations: 18.89 kB / 0.5842 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002807/0.3411, allocations: 208.1 kB / 0.5844 GB, free: 20.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.3413, allocations: 218.2 kB / 0.5846 GB, free: 20.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004354/0.3418, allocations: 318.5 kB / 0.5849 GB, free: 20.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.3418, allocations: 5.281 kB / 0.5849 GB, free: 20.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005745/0.3424, allocations: 338.1 kB / 0.5852 GB, free: 20.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.3424, allocations: 6.531 kB / 0.5852 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3424, allocations: 4.594 kB / 0.5852 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.3424, allocations: 7.531 kB / 0.5852 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.3427, allocations: 71.3 kB / 0.5853 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3427, allocations: 10.91 kB / 0.5853 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.3429, allocations: 35.81 kB / 0.5853 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3429, allocations: 14.52 kB / 0.5854 GB, free: 20.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.343, allocations: 200.4 kB / 0.5855 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.343, allocations: 24.41 kB / 0.5856 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.3431, allocations: 33.38 kB / 0.5856 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3431, allocations: 6.453 kB / 0.5856 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3431, allocations: 0 / 0.5856 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3431, allocations: 0 / 0.5856 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.344, allocations: 0.759 MB / 0.5863 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3441, allocations: 1.062 kB / 0.5863 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3442, allocations: 37.06 kB / 0.5864 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.477e-05/0.3443, allocations: 29.38 kB / 0.5864 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3444, allocations: 5.531 kB / 0.5864 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006168/0.345, allocations: 1.427 MB / 0.5878 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.345, allocations: 1.219 kB / 0.5878 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.3455, allocations: 368.8 kB / 0.5882 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.3456, allocations: 117 kB / 0.5883 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3456, allocations: 10.69 kB / 0.5883 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3458, allocations: 16.27 kB / 0.5883 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.3459, allocations: 21.94 kB / 0.5883 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3459, allocations: 9.75 kB / 0.5883 GB, free: 17.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.346, allocations: 182.9 kB / 0.5885 GB, free: 17.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.346, allocations: 3.938 kB / 0.5885 GB, free: 17.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.3466, allocations: 144.8 kB / 0.5886 GB, free: 17.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/0.3472, allocations: 0.8957 MB / 0.5895 GB, free: 16.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.3481, allocations: 0.5063 MB / 0.59 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3482, allocations: 0 / 0.59 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.3485, allocations: 223.8 kB / 0.5902 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.3489, allocations: 75.53 kB / 0.5903 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.352, allocations: 2.873 MB / 0.5931 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3522, allocations: 0.7975 MB / 0.5939 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.3524, allocations: 70.95 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3525, allocations: 93.41 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3525, allocations: 3.938 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3755, allocations: 6.2 MB / 0.6001 GB, free: 8.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.57, allocations: 0.875 kB / 0.6001 GB, free: 8.078 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)