Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",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.00109/0.00109, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001155/0.001155, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.274/1.274, 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.7411/0.7411, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004941/0.3102, allocations: 4.087 MB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3127, allocations: 1.578 MB / 0.5728 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3129, allocations: 7.219 kB / 0.5728 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.3142, allocations: 0.5901 MB / 0.5734 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.3146, allocations: 234.5 kB / 0.5736 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.3151, allocations: 211.6 kB / 0.5738 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.3157, allocations: 0.5478 MB / 0.5744 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.3163, allocations: 483.7 kB / 0.5748 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.3166, allocations: 225.8 kB / 0.575 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.3169, allocations: 252 kB / 0.5753 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.317, allocations: 37 kB / 0.5753 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.3173, allocations: 166.3 kB / 0.5755 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3174, allocations: 149 kB / 0.5756 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3176, allocations: 195.6 kB / 0.5758 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.3182, allocations: 0.5135 MB / 0.5763 GB, free: 27.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3182, allocations: 0.5312 kB / 0.5763 GB, free: 27.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3182, allocations: 0 / 0.5763 GB, free: 27.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3182, allocations: 0.625 kB / 0.5763 GB, free: 27.26 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009991/0.3192, allocations: 0.6791 MB / 0.577 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3192, allocations: 11.12 kB / 0.577 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.418e-05/0.3193, allocations: 77.86 kB / 0.577 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.32, allocations: 107.5 kB / 0.5771 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3203, allocations: 302.7 kB / 0.5774 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.3204, allocations: 59.89 kB / 0.5775 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.3205, allocations: 35.91 kB / 0.5775 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.3212, allocations: 0.5055 MB / 0.578 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3212, allocations: 3.938 kB / 0.578 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3212, allocations: 16.78 kB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.3213, allocations: 33.56 kB / 0.5781 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.322, allocations: 376.6 kB / 0.5784 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3238, allocations: 2.213 MB / 0.5806 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.3245, allocations: 257.5 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.3248, allocations: 153.6 kB / 0.581 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3248, allocations: 7.078 kB / 0.581 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.3249, allocations: 36.34 kB / 0.581 GB, free: 23.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.3249, allocations: 1.656 kB / 0.581 GB, free: 23.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001363/0.3262, allocations: 0.5723 MB / 0.5816 GB, free: 23.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3263, allocations: 54.12 kB / 0.5816 GB, free: 23.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3264, allocations: 224.9 kB / 0.5819 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3265, allocations: 30.8 kB / 0.5819 GB, free: 23.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.3265, allocations: 216.1 kB / 0.5821 GB, free: 23.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3266, allocations: 58.89 kB / 0.5821 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3267, allocations: 55.39 kB / 0.5822 GB, free: 22.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.3267, allocations: 333.4 kB / 0.5825 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3269, allocations: 95.89 kB / 0.5826 GB, free: 22.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.3271, allocations: 185.9 kB / 0.5828 GB, free: 22.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.3275, allocations: 283 kB / 0.5831 GB, free: 22.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3275, allocations: 5.219 kB / 0.5831 GB, free: 22.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007523/0.3283, allocations: 371.9 kB / 0.5834 GB, free: 22.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3283, allocations: 5.25 kB / 0.5834 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3283, allocations: 6.438 kB / 0.5834 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.3288, allocations: 106.7 kB / 0.5835 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.329, allocations: 54.78 kB / 0.5836 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.3313, allocations: 3.056 MB / 0.5866 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3315, allocations: 31.86 kB / 0.5866 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3315, allocations: 11.88 kB / 0.5866 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002684/0.3318, allocations: 219.4 kB / 0.5868 GB, free: 18.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002115/0.332, allocations: 185.9 kB / 0.587 GB, free: 18.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003887/0.3324, allocations: 264.6 kB / 0.5872 GB, free: 18.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.3324, allocations: 5.219 kB / 0.5872 GB, free: 18.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006875/0.3331, allocations: 349.1 kB / 0.5876 GB, free: 18.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.3331, allocations: 11.66 kB / 0.5876 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3332, allocations: 7.938 kB / 0.5876 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.3334, allocations: 82.56 kB / 0.5877 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3336, allocations: 52.81 kB / 0.5877 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.3351, allocations: 1.604 MB / 0.5893 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.3354, allocations: 35.7 kB / 0.5893 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3354, allocations: 12.12 kB / 0.5893 GB, free: 16.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.3355, allocations: 199.3 kB / 0.5895 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.3356, allocations: 25.84 kB / 0.5896 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.3356, allocations: 27.72 kB / 0.5896 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3356, allocations: 2.875 kB / 0.5896 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3356, allocations: 3.938 kB / 0.5896 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3356, allocations: 7.922 kB / 0.5896 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3367, allocations: 0.8267 MB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3367, allocations: 1.062 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3369, allocations: 39.62 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.3372, allocations: 105.9 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3373, allocations: 4 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.3393, allocations: 3.022 MB / 0.5935 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3393, allocations: 1.375 kB / 0.5935 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.34, allocations: 413.1 kB / 0.5939 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.3401, allocations: 122.5 kB / 0.594 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.3401, allocations: 5.219 kB / 0.594 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3403, allocations: 17.67 kB / 0.594 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.3403, allocations: 21 kB / 0.5941 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3404, allocations: 3.938 kB / 0.5941 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3405, allocations: 164 kB / 0.5942 GB, free: 12.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3405, allocations: 0 / 0.5942 GB, free: 12.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.3411, allocations: 173.4 kB / 0.5944 GB, free: 11.99 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008167/0.3419, allocations: 0.9465 MB / 0.5953 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3436, allocations: 0.7799 MB / 0.5961 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3436, allocations: 1.062 kB / 0.5961 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.3443, allocations: 371.3 kB / 0.5964 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3447, allocations: 51.58 kB / 0.5965 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.3479, allocations: 2.839 MB / 0.5992 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3481, allocations: 0.814 MB / 0.6 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.3483, allocations: 60.22 kB / 0.6001 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3484, allocations: 94.47 kB / 0.6002 GB, free: 7.211 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3484, allocations: 1.281 kB / 0.6002 GB, free: 7.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.383, allocations: 7.197 MB / 0.6072 GB, free: 396 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.93, allocations: 17.34 kB / 0.6072 GB, free: 384 kB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)