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.001038/0.001038, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001016/0.001016, allocations: 187.2 kB / 17.2 MB, free: 5.574 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.261/1.261, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7233/0.7233, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 77.91 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004847/0.3142, allocations: 4.084 MB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3162, allocations: 1.587 MB / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3164, allocations: 8.062 kB / 0.5728 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.3178, allocations: 0.5866 MB / 0.5734 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.3181, allocations: 234.3 kB / 0.5736 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3185, allocations: 210.7 kB / 0.5738 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.319, allocations: 0.5427 MB / 0.5744 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.3196, allocations: 488 kB / 0.5748 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.3198, allocations: 227.9 kB / 0.575 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.3202, allocations: 254.5 kB / 0.5753 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.3202, allocations: 35.38 kB / 0.5753 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.3205, allocations: 163.9 kB / 0.5755 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3207, allocations: 152.2 kB / 0.5756 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3208, allocations: 199.7 kB / 0.5758 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.3214, allocations: 0.5091 MB / 0.5763 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3214, allocations: 4.531 kB / 0.5763 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3214, allocations: 0.5312 kB / 0.5763 GB, free: 27.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3214, allocations: 1.375 kB / 0.5763 GB, free: 27.25 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.0009816/0.3224, allocations: 0.6793 MB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3225, allocations: 9.969 kB / 0.577 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.3225, allocations: 83.28 kB / 0.5771 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006468/0.3232, allocations: 105.4 kB / 0.5772 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3235, allocations: 295.6 kB / 0.5774 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.3235, allocations: 59.52 kB / 0.5775 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.3236, allocations: 31.75 kB / 0.5775 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.3243, allocations: 0.5092 MB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3243, allocations: 2.125 kB / 0.578 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3244, allocations: 16.12 kB / 0.578 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.3244, allocations: 33.22 kB / 0.5781 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.3251, allocations: 374.9 kB / 0.5784 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3269, allocations: 2.21 MB / 0.5806 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.3276, allocations: 262.3 kB / 0.5808 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.3279, allocations: 150.3 kB / 0.581 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.328, allocations: 2.844 kB / 0.581 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.328, allocations: 38.62 kB / 0.581 GB, free: 23.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.328, allocations: 0 / 0.581 GB, free: 23.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001354/0.3293, allocations: 0.5754 MB / 0.5816 GB, free: 23.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.3294, allocations: 53.91 kB / 0.5816 GB, free: 23.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3296, allocations: 227.3 kB / 0.5819 GB, free: 23.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3296, allocations: 31.14 kB / 0.5819 GB, free: 23.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.3297, allocations: 212.2 kB / 0.5821 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3297, allocations: 63.16 kB / 0.5821 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.3298, allocations: 55.17 kB / 0.5822 GB, free: 23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.3299, allocations: 329.4 kB / 0.5825 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3301, allocations: 96.86 kB / 0.5826 GB, free: 22.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3303, allocations: 190.3 kB / 0.5828 GB, free: 22.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.3307, allocations: 276.5 kB / 0.583 GB, free: 22.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3307, allocations: 5.25 kB / 0.5831 GB, free: 22.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007494/0.3315, allocations: 369.7 kB / 0.5834 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3315, allocations: 6.75 kB / 0.5834 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3315, allocations: 2.5 kB / 0.5834 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.332, allocations: 122.3 kB / 0.5835 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3322, allocations: 54.41 kB / 0.5836 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.3346, allocations: 3.048 MB / 0.5866 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.3349, allocations: 33.48 kB / 0.5866 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3349, allocations: 12.88 kB / 0.5866 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002845/0.3352, allocations: 221.6 kB / 0.5868 GB, free: 18.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002198/0.3354, allocations: 172.3 kB / 0.587 GB, free: 18.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004121/0.3359, allocations: 274.6 kB / 0.5872 GB, free: 18.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.3359, allocations: 0 / 0.5872 GB, free: 18.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007198/0.3366, allocations: 354.4 kB / 0.5876 GB, free: 18.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3366, allocations: 5.25 kB / 0.5876 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3366, allocations: 2.531 kB / 0.5876 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.3369, allocations: 83.59 kB / 0.5877 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3371, allocations: 56.94 kB / 0.5877 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.3387, allocations: 1.616 MB / 0.5893 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3389, allocations: 37.06 kB / 0.5893 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3389, allocations: 11.81 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 9.159e-05/0.339, allocations: 201.9 kB / 0.5895 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.3391, allocations: 23.28 kB / 0.5896 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.3391, allocations: 31.27 kB / 0.5896 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3391, allocations: 2.812 kB / 0.5896 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3392, allocations: 3.938 kB / 0.5896 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3392, allocations: 0 / 0.5896 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3403, allocations: 0.8328 MB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3403, allocations: 1.531 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3404, allocations: 34.8 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.3407, allocations: 100.8 kB / 0.5905 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3408, allocations: 9.984 kB / 0.5906 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3428, allocations: 3.013 MB / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3429, allocations: 1.219 kB / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.3435, allocations: 414.2 kB / 0.5939 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.3436, allocations: 121.2 kB / 0.594 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3436, allocations: 11 kB / 0.594 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3438, allocations: 8.312 kB / 0.594 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.3439, allocations: 33.31 kB / 0.5941 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3439, allocations: 4.094 kB / 0.5941 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.344, allocations: 163.8 kB / 0.5942 GB, free: 12.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.344, allocations: 0 / 0.5942 GB, free: 12.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.3446, allocations: 169.6 kB / 0.5944 GB, free: 12 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.0007945/0.3454, allocations: 0.9453 MB / 0.5953 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3471, allocations: 0.7749 MB / 0.5961 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3471, allocations: 0 / 0.5961 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.3477, allocations: 372.3 kB / 0.5964 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3482, allocations: 60.61 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.003219/0.3514, allocations: 2.849 MB / 0.5993 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3516, allocations: 0.8099 MB / 0.6 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.3518, allocations: 55.28 kB / 0.6001 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3519, allocations: 92.25 kB / 0.6002 GB, free: 7.219 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.352, allocations: 0 / 0.6002 GB, free: 7.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.3792, allocations: 7.188 MB / 0.6072 GB, free: 376 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.69, allocations: 23.8 kB / 0.6072 GB, free: 356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)