Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.698/2.698, allocations: 287.3 MB / 302.3 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 178.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 99.98 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 15.91 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008048/0.233, allocations: 349.9 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.2339, allocations: 0.8165 MB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.234, allocations: 4 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.234, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.2341, allocations: 4 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.2343, allocations: 8 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.2343, allocations: 19.91 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.2345, allocations: 8 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.2345, allocations: 7.984 kB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.2346, allocations: 15.92 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2346, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2347, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2347, allocations: 3.984 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.2347, allocations: 33.7 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.903e-05/0.2348, allocations: 11.97 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2348, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2348, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2348, allocations: 4 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000449/0.2353, allocations: 343.5 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2354, allocations: 12.02 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.2354, allocations: 30.56 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2354, allocations: 7.984 kB / 0.9799 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.2355, allocations: 167 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.2356, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2356, allocations: 11.94 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2358, allocations: 53.67 kB / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2359, allocations: 0 / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2359, allocations: 0 / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2359, allocations: 0 / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.2362, allocations: 47.95 kB / 0.9802 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.2366, allocations: 256.9 kB / 0.9804 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2368, allocations: 50.48 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2368, allocations: 64 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.2368, allocations: 34.56 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.2369, allocations: 0 / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005573/0.2374, allocations: 109.5 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.2375, allocations: 51.41 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.2375, allocations: 101.8 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2376, allocations: 25.7 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.2376, allocations: 84.08 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2376, allocations: 8 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2376, allocations: 128 / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.2377, allocations: 318.8 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2379, allocations: 31.91 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.238, allocations: 15.98 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2382, allocations: 28.05 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2382, allocations: 0 / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003348/0.2385, allocations: 77.56 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2386, allocations: 12.03 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2386, allocations: 0 / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2386, allocations: 0 / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.2388, allocations: 11.98 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2388, allocations: 0 / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.2389, allocations: 15.98 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2389, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/0.239, allocations: 121.7 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2391, allocations: 4 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2391, allocations: 3.125 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2391, allocations: 3.938 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2391, allocations: 0 / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2391, allocations: 3.984 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2393, allocations: 165.6 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2393, allocations: 0 / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2394, allocations: 11.98 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2394, allocations: 4 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2395, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2395, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2395, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.2398, allocations: 183.5 kB / 0.9818 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.2399, allocations: 88.94 kB / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2399, allocations: 0 / 0.9819 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2401, allocations: 8 kB / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.2401, allocations: 11.92 kB / 0.9819 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.2401, allocations: 0 / 0.9819 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.2402, allocations: 83.28 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2402, allocations: 4.031 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000285/0.2405, allocations: 4 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000557/0.2411, allocations: 0.7085 MB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.2414, allocations: 47.95 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2414, allocations: 4.031 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2416, allocations: 27.98 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2419, allocations: 9.828 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.2424, allocations: 138.3 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2425, allocations: 0.6771 MB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.2426, allocations: 11.94 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.2427, allocations: 7.438 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2427, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2657, allocations: 1.149 MB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.2661, allocations: 195.1 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.567, allocations: 1.562 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)