Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 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.001153/0.001154, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.117/1.117, allocations: 143.1 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 67.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00306/0.1819, allocations: 1.883 MB / 0.5962 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5489/0.7309, allocations: 155.4 MB / 0.748 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.7311, allocations: 12.44 kB / 0.7481 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.7314, allocations: 19.73 kB / 0.7481 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.7318, allocations: 76.91 kB / 0.7481 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.7327, allocations: 259.2 kB / 0.7484 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.7332, allocations: 258.7 kB / 0.7486 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.7334, allocations: 66.98 kB / 0.7487 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.7349, allocations: 231.6 kB / 0.7489 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.7352, allocations: 93.62 kB / 0.749 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.7353, allocations: 13.94 kB / 0.749 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.7358, allocations: 184.4 kB / 0.7492 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.7359, allocations: 43.92 kB / 0.7492 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.7361, allocations: 87.23 kB / 0.7493 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.7367, allocations: 279.8 kB / 0.7496 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7367, allocations: 0 / 0.7496 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7367, allocations: 3.938 kB / 0.7496 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.7367, allocations: 0 / 0.7496 GB, free: 13.63 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001034/0.7378, allocations: 0.5081 MB / 0.7501 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.7378, allocations: 10.69 kB / 0.7501 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.7379, allocations: 51.42 kB / 0.7502 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/0.7388, allocations: 81.33 kB / 0.7502 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.7391, allocations: 230.9 kB / 0.7505 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.7392, allocations: 41.09 kB / 0.7505 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.7393, allocations: 13.84 kB / 0.7505 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.7399, allocations: 268.3 kB / 0.7508 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7399, allocations: 0 / 0.7508 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.7399, allocations: 10.83 kB / 0.7508 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7399, allocations: 5.062 kB / 0.7508 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.7404, allocations: 172.8 kB / 0.7509 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.7421, allocations: 1.181 MB / 0.7521 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.7428, allocations: 202.8 kB / 0.7523 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.743, allocations: 71.73 kB / 0.7524 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.7431, allocations: 1.375 kB / 0.7524 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.7431, allocations: 36.53 kB / 0.7524 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.7431, allocations: 1.375 kB / 0.7524 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002652/0.7458, allocations: 0.6342 MB / 0.753 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.7458, allocations: 51.41 kB / 0.7531 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.746, allocations: 202.6 kB / 0.7533 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.7461, allocations: 25.7 kB / 0.7533 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.7461, allocations: 135.5 kB / 0.7534 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.7462, allocations: 44.58 kB / 0.7535 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.7463, allocations: 49.58 kB / 0.7535 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7464, allocations: 330.8 kB / 0.7538 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.7466, allocations: 71.45 kB / 0.7539 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.7469, allocations: 138.8 kB / 0.754 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.7473, allocations: 195.5 kB / 0.7542 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7473, allocations: 4 kB / 0.7542 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001443/0.7488, allocations: 367.3 kB / 0.7546 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7488, allocations: 4 kB / 0.7546 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7488, allocations: 4 kB / 0.7546 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.7499, allocations: 169.7 kB / 0.7547 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.7501, allocations: 42.11 kB / 0.7548 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.7543, allocations: 3.243 MB / 0.7579 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.7547, allocations: 43.77 kB / 0.758 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.7547, allocations: 7.984 kB / 0.758 GB, free: 5.152 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.7549, allocations: 137.7 kB / 0.7581 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.755, allocations: 7.906 kB / 0.7581 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.7563, allocations: 381.8 kB / 0.7585 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.7563, allocations: 4 kB / 0.7585 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.7563, allocations: 0.875 kB / 0.7585 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7563, allocations: 4 kB / 0.7585 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.7566, allocations: 277.4 kB / 0.7588 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7566, allocations: 0 / 0.7588 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.7568, allocations: 27.91 kB / 0.7588 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008298/0.7576, allocations: 141.5 kB / 0.7589 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.7576, allocations: 8.812 kB / 0.7589 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.7615, allocations: 3.29 MB / 0.7621 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7615, allocations: 4.062 kB / 0.7621 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.7628, allocations: 434.3 kB / 0.7626 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.763, allocations: 100.9 kB / 0.7627 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.7631, allocations: 11.92 kB / 0.7627 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.7634, allocations: 15.98 kB / 0.7627 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.7634, allocations: 19.89 kB / 0.7627 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.7635, allocations: 4 kB / 0.7627 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001799/0.7637, allocations: 150.3 kB / 0.7628 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7637, allocations: 0 / 0.7628 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004573/0.7641, allocations: 71.94 kB / 0.7629 GB, free: 15.7 MB / 0.5919 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 (12): * Single equations (assignments): 10 * 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,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/0.7658, allocations: 0.9869 MB / 0.7639 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.7669, allocations: 450.5 kB / 0.7643 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.767, allocations: 0 / 0.7643 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.7676, allocations: 357.2 kB / 0.7646 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.7681, allocations: 62.75 kB / 0.7647 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.7732, allocations: 2.503 MB / 0.7672 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.7735, allocations: 0.7361 MB / 0.7679 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.7737, allocations: 33.94 kB / 0.7679 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.7738, allocations: 59.36 kB / 0.768 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.342e-06/0.7738, allocations: 0 / 0.768 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.8073, allocations: 7.208 MB / 0.775 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.69, allocations: 8.547 kB / 0.775 GB, free: 3.344 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)