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.0009272/0.0009273, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 174.2 kB / 16.91 MB, free: 6.684 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.666/0.666, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003003, allocations: 11.94 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004627/0.1617, allocations: 3.487 MB / 0.5635 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1646, allocations: 1.745 MB / 0.5652 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.1649, allocations: 4 kB / 0.5652 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1651, allocations: 59.5 kB / 0.5652 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009017/0.1661, allocations: 235 kB / 0.5654 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.1669, allocations: 227.7 kB / 0.5657 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.168, allocations: 0.6973 MB / 0.5663 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.1686, allocations: 373.6 kB / 0.5667 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.1691, allocations: 151.4 kB / 0.5668 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.1697, allocations: 227.2 kB / 0.5671 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.1698, allocations: 20 kB / 0.5671 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.1703, allocations: 227.5 kB / 0.5673 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1705, allocations: 111.6 kB / 0.5674 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1708, allocations: 184.8 kB / 0.5676 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.1714, allocations: 482.4 kB / 0.568 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1715, allocations: 0 / 0.568 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1715, allocations: 0 / 0.568 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1715, allocations: 0 / 0.568 GB, free: 0.7031 MB / 430.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.001118/0.1726, allocations: 0.6081 MB / 0.5686 GB, free: 48 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1727, allocations: 8.031 kB / 0.5686 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1728, allocations: 70.72 kB / 0.5687 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.1734, allocations: 84.41 kB / 0.5688 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.1738, allocations: 295.6 kB / 0.5691 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1739, allocations: 29 kB / 0.5691 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.1739, allocations: 28.38 kB / 0.5691 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.1748, allocations: 0.4899 MB / 0.5696 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1748, allocations: 0 / 0.5696 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.1748, allocations: 15.98 kB / 0.5696 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.1749, allocations: 40.62 kB / 0.5697 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1757, allocations: 390.2 kB / 0.57 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1779, allocations: 2.044 MB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.1785, allocations: 226.7 kB / 0.5722 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.1789, allocations: 168.8 kB / 0.5724 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.179, allocations: 8 kB / 0.5724 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.179, allocations: 34.56 kB / 0.5724 GB, free: 11.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.179, allocations: 0 / 0.5724 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001167/0.1802, allocations: 456.6 kB / 0.5729 GB, free: 11.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1802, allocations: 59.41 kB / 0.5729 GB, free: 11.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1805, allocations: 270.5 kB / 0.5732 GB, free: 11.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1806, allocations: 25.7 kB / 0.5732 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1807, allocations: 211.8 kB / 0.5734 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.1808, allocations: 63.05 kB / 0.5735 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.1808, allocations: 29.7 kB / 0.5735 GB, free: 10.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.181, allocations: 334.8 kB / 0.5738 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.1813, allocations: 108.5 kB / 0.5739 GB, free: 10.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1817, allocations: 215.5 kB / 0.5741 GB, free: 9.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.1823, allocations: 332.1 kB / 0.5745 GB, free: 9.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1823, allocations: 0 / 0.5745 GB, free: 9.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007955/0.1831, allocations: 381.9 kB / 0.5748 GB, free: 9.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.1832, allocations: 196.2 kB / 0.575 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1832, allocations: 4 kB / 0.575 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.1834, allocations: 32.83 kB / 0.575 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1837, allocations: 83.83 kB / 0.5751 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.185, allocations: 1.326 MB / 0.5764 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.1854, allocations: 47.58 kB / 0.5765 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1854, allocations: 20.09 kB / 0.5765 GB, free: 7.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.1854, allocations: 7.938 kB / 0.5765 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006475/0.1861, allocations: 291.6 kB / 0.5768 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1861, allocations: 7.938 kB / 0.5768 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1861, allocations: 7.938 kB / 0.5768 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1864, allocations: 84.23 kB / 0.5769 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1864, allocations: 4 kB / 0.5769 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1866, allocations: 43.72 kB / 0.5769 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1867, allocations: 16 kB / 0.5769 GB, free: 6.887 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 0.0002083/0.1869, allocations: 245 kB / 0.5772 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1869, allocations: 23.72 kB / 0.5772 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.187, allocations: 38.11 kB / 0.5772 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.187, allocations: 0 / 0.5772 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.187, allocations: 0 / 0.5772 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.187, allocations: 4 kB / 0.5772 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1882, allocations: 0.7793 MB / 0.578 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1882, allocations: 0 / 0.578 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1884, allocations: 51.91 kB / 0.578 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.687e-05/0.1885, allocations: 24.84 kB / 0.578 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1885, allocations: 8.062 kB / 0.5781 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000968/0.1895, allocations: 1.315 MB / 0.5793 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1895, allocations: 7.922 kB / 0.5793 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.1902, allocations: 377.8 kB / 0.5797 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1903, allocations: 112.8 kB / 0.5798 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1903, allocations: 11.92 kB / 0.5798 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1905, allocations: 23.98 kB / 0.5799 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1906, allocations: 19.92 kB / 0.5799 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1906, allocations: 4 kB / 0.5799 GB, free: 3.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1908, allocations: 186 kB / 0.5801 GB, free: 3.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1908, allocations: 0 / 0.5801 GB, free: 3.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000564/0.1914, allocations: 143.5 kB / 0.5802 GB, free: 3.273 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.0009225/0.1923, allocations: 0.927 MB / 0.5811 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1934, allocations: 0.5056 MB / 0.5816 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1934, allocations: 4.125 kB / 0.5816 GB, free: 1.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.1938, allocations: 234.4 kB / 0.5818 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.1943, allocations: 68.58 kB / 0.5819 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2416/0.4359, allocations: 3.074 MB / 0.5849 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.4362, allocations: 0.8029 MB / 0.5857 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.4365, allocations: 72.06 kB / 0.5857 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4366, allocations: 88.92 kB / 0.5858 GB, free: 28.09 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4366, allocations: 0.7188 kB / 0.5858 GB, free: 28.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.4545, allocations: 5.705 MB / 0.5914 GB, free: 27.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.4547, allocations: 221.7 kB / 0.5916 GB, free: 27.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.248, allocations: 3.5 kB / 0.5916 GB, free: 27.56 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)