Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.004995/0.004995, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001238/0.001238, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.068/1.068, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.89 kB / 0.5954 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5234, allocations: 82.02 MB / 0.6755 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001877/0.5254, allocations: 0.5744 MB / 0.676 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.5261, allocations: 330.7 kB / 0.6763 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.5261, allocations: 0 / 0.6763 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.5262, allocations: 0 / 0.6763 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.5262, allocations: 1.062 kB / 0.6763 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.5266, allocations: 114.7 kB / 0.6764 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.5267, allocations: 1.188 kB / 0.6764 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.5267, allocations: 5.391 kB / 0.6764 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.5268, allocations: 1.219 kB / 0.6764 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.5268, allocations: 3.938 kB / 0.6765 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.5268, allocations: 1.281 kB / 0.6765 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.5273, allocations: 278.1 kB / 0.6767 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.5273, allocations: 0 / 0.6767 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.5273, allocations: 1.156 kB / 0.6767 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.5275, allocations: 84.77 kB / 0.6768 GB, free: 60 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5275, allocations: 4 kB / 0.6768 GB, free: 56 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5275, allocations: 0 / 0.6768 GB, free: 56 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5275, allocations: 1.031 kB / 0.6768 GB, free: 56 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004332/0.528, allocations: 331.5 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.528, allocations: 9.5 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.5281, allocations: 38.73 kB / 0.6772 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.5281, allocations: 6.094 kB / 0.6772 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5283, allocations: 160.4 kB / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5283, allocations: 5.609 kB / 0.6773 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5283, allocations: 4.375 kB / 0.6773 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.5284, allocations: 28.58 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5285, allocations: 7.875 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5285, allocations: 0 / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5285, allocations: 1.156 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.5285, allocations: 1.062 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.5287, allocations: 158.7 kB / 0.6775 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.5288, allocations: 20.77 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.5288, allocations: 8.281 kB / 0.6776 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/0.5294, allocations: 424.5 kB / 0.678 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5295, allocations: 31.53 kB / 0.678 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5295, allocations: 1.344 kB / 0.678 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.5297, allocations: 46.16 kB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.5297, allocations: 52.59 kB / 0.6781 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.5298, allocations: 89.86 kB / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5298, allocations: 25.7 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.5299, allocations: 81.23 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.5299, allocations: 7.953 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.5299, allocations: 12.16 kB / 0.6783 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5301, allocations: 311 kB / 0.6786 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.5301, allocations: 5.156 kB / 0.6786 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.5301, allocations: 1.125 kB / 0.6786 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.5302, allocations: 12.3 kB / 0.6786 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5302, allocations: 0 / 0.6786 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.656e-05/0.5302, allocations: 42.75 kB / 0.6786 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5303, allocations: 7.656 kB / 0.6786 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5303, allocations: 4.875 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5303, allocations: 0 / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.322e-05/0.5303, allocations: 6.219 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5304, allocations: 0 / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-06/0.5304, allocations: 1.156 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.5304, allocations: 0 / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.5305, allocations: 107.1 kB / 0.6788 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.5305, allocations: 1.375 kB / 0.6788 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5306, allocations: 49.36 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.5306, allocations: 1.281 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5306, allocations: 4 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5306, allocations: 0 / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.5308, allocations: 150.8 kB / 0.679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5308, allocations: 5.156 kB / 0.679 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.5308, allocations: 5.188 kB / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5308, allocations: 0 / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5308, allocations: 5.125 kB / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5308, allocations: 0 / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5308, allocations: 1.125 kB / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.5309, allocations: 62.92 kB / 0.679 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.531, allocations: 82.69 kB / 0.6791 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.531, allocations: 3.938 kB / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.531, allocations: 0 / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.531, allocations: 1.312 kB / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.531, allocations: 0 / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.5311, allocations: 76.72 kB / 0.6792 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5311, allocations: 0 / 0.6792 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001872/0.5313, allocations: 13.34 kB / 0.6792 GB, free: 13.29 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00053/0.5318, allocations: 0.6095 MB / 0.6798 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.5319, allocations: 8.562 kB / 0.6798 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5319, allocations: 0 / 0.6798 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.5319, allocations: 10.77 kB / 0.6798 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.5321, allocations: 2.859 kB / 0.6798 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.5324, allocations: 106.9 kB / 0.6799 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.5328, allocations: 0.6742 MB / 0.6806 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.5328, allocations: 0 / 0.6806 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.5328, allocations: 8.938 kB / 0.6806 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.5328, allocations: 0 / 0.6806 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.5717, allocations: 1.201 MB / 0.6818 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.334, allocations: 6.344 kB / 0.6818 GB, free: 11.16 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)