Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.0008995/0.0008995, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006082/0.006082, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007944/0.0007939, allocations: 13.66 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2193, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001498/0.2209, allocations: 1.4 MB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.2228, allocations: 1.416 MB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2229, allocations: 4 kB / 0.7907 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.2232, allocations: 79.64 kB / 0.7908 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2234, allocations: 71.59 kB / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.224, allocations: 222.6 kB / 0.7911 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.2242, allocations: 255.1 kB / 0.7913 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.2243, allocations: 9.5 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2244, allocations: 79.64 kB / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2245, allocations: 87.61 kB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2245, allocations: 8 kB / 0.7915 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.225, allocations: 363.4 kB / 0.7919 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.2251, allocations: 63.8 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.2252, allocations: 121.1 kB / 0.792 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.2257, allocations: 398.9 kB / 0.7924 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2257, allocations: 0 / 0.7924 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2257, allocations: 0 / 0.7924 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2257, allocations: 0 / 0.7924 GB, free: 6.918 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000712/0.2264, allocations: 0.5296 MB / 0.7929 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2265, allocations: 12.02 kB / 0.7929 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2265, allocations: 34.75 kB / 0.793 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.2265, allocations: 24.66 kB / 0.793 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.2269, allocations: 283.6 kB / 0.7933 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.227, allocations: 63.95 kB / 0.7933 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.227, allocations: 4.375 kB / 0.7933 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2272, allocations: 93.59 kB / 0.7934 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2272, allocations: 0 / 0.7934 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2272, allocations: 7.938 kB / 0.7934 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2272, allocations: 4 kB / 0.7934 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.2275, allocations: 107.9 kB / 0.7935 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.2277, allocations: 253.3 kB / 0.7938 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.229, allocations: 338.4 kB / 0.7941 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2291, allocations: 60.83 kB / 0.7942 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.2292, allocations: 101 kB / 0.7943 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2293, allocations: 34.55 kB / 0.7943 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2293, allocations: 4 kB / 0.7943 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004331/0.2297, allocations: 213.3 kB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2298, allocations: 51.41 kB / 0.7946 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.23, allocations: 307.1 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.23, allocations: 25.7 kB / 0.7949 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.2301, allocations: 124.6 kB / 0.795 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2302, allocations: 19.66 kB / 0.795 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2302, allocations: 45.69 kB / 0.795 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.2303, allocations: 338.8 kB / 0.7954 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2305, allocations: 159.9 kB / 0.7955 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.2307, allocations: 159.7 kB / 0.7957 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.2311, allocations: 294.3 kB / 0.796 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2311, allocations: 4 kB / 0.796 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005074/0.2316, allocations: 408.7 kB / 0.7964 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2316, allocations: 4 kB / 0.7964 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2316, allocations: 4 kB / 0.7964 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2316, allocations: 0 / 0.7964 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.2317, allocations: 23.98 kB / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2318, allocations: 0 / 0.7964 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2319, allocations: 31.53 kB / 0.7964 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2319, allocations: 4 kB / 0.7964 GB, free: 2.555 MB / 0.6075 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.173e-05/0.232, allocations: 129.8 kB / 0.7965 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.232, allocations: 23.66 kB / 0.7966 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.2323, allocations: 175.4 kB / 0.7967 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2324, allocations: 4 kB / 0.7967 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2324, allocations: 0 / 0.7967 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2324, allocations: 0 / 0.7967 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2325, allocations: 233.6 kB / 0.797 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2326, allocations: 7.875 kB / 0.797 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.2326, allocations: 23.98 kB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2327, allocations: 0 / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2327, allocations: 4.312 kB / 0.797 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2327, allocations: 0 / 0.797 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2327, allocations: 4 kB / 0.797 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.233, allocations: 184.7 kB / 0.7972 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.2331, allocations: 112.7 kB / 0.7973 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2331, allocations: 4 kB / 0.7973 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.2332, allocations: 4 kB / 0.7973 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.2332, allocations: 3.984 kB / 0.7973 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2332, allocations: 4 kB / 0.7973 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001557/0.2334, allocations: 201.9 kB / 0.7975 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2334, allocations: 0 / 0.7975 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003401/0.2337, allocations: 115.9 kB / 0.7976 GB, free: 1.246 MB / 0.6075 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 (6): * Single equations (assignments): 6 * 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.000896/0.2347, allocations: 0.888 MB / 0.7985 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.2351, allocations: 363.3 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2351, allocations: 0 / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2353, allocations: 59.91 kB / 0.7989 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2355, allocations: 32.58 kB / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.2382, allocations: 2.75 MB / 0.8016 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2385, allocations: 0.7434 MB / 0.8023 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.898e-05/0.2386, allocations: 13.39 kB / 0.8023 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.2387, allocations: 59.41 kB / 0.8024 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2387, allocations: 0 / 0.8024 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8512/1.09, allocations: 5.404 MB / 0.8077 GB, free: 7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.09, allocations: 228 kB / 0.8079 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.372, allocations: 4.062 kB / 0.8079 GB, free: 6.734 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)