Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 180.9 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.5777 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007939/0.0007939, allocations: 96.34 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004575, allocations: 9 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 106.4 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001371/0.2312, allocations: 0.9426 MB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.232, allocations: 389 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.232, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2321, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.2321, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.2327, allocations: 83.78 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.2328, allocations: 19.92 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.2328, allocations: 0 / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.2328, allocations: 7.984 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.2329, allocations: 11.94 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2329, allocations: 3.938 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.2331, allocations: 95.84 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.2332, allocations: 11.97 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.2332, allocations: 29.64 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2333, allocations: 63.91 kB / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.2334, allocations: 0 / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2334, allocations: 0 / 0.9019 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2334, allocations: 0 / 0.9019 GB, free: 62.53 MB / 0.6042 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.0004181/0.2338, allocations: 369.1 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2339, allocations: 8.031 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/0.2339, allocations: 38.55 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.234, allocations: 11.91 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2341, allocations: 167.2 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2341, allocations: 0 / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2341, allocations: 4 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2343, allocations: 49.61 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2343, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2343, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2343, allocations: 4 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.2343, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.2347, allocations: 248.9 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.2348, allocations: 38.5 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.2348, allocations: 16.84 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2348, allocations: 12.02 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.235, allocations: 55.41 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.235, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002058/0.2352, allocations: 73.61 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2353, allocations: 55.41 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.2353, allocations: 105.7 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2353, allocations: 33.69 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.2354, allocations: 84.14 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.2354, allocations: 11.89 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2354, allocations: 4 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.2354, allocations: 310.8 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.2355, allocations: 11.98 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.2355, allocations: 31.44 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.2355, allocations: 19.98 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2356, allocations: 0 / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.907e-05/0.2356, allocations: 73.47 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2357, allocations: 8 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2357, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2357, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.2358, allocations: 15.92 kB / 0.9037 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2358, allocations: 4 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.2358, allocations: 0 / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2358, allocations: 12.02 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.166e-05/0.2359, allocations: 117.7 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.2359, allocations: 4 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.2359, allocations: 3.562 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2359, allocations: 0 / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.236, allocations: 0 / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.236, allocations: 7.984 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2362, allocations: 294.6 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2362, allocations: 4.312 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2362, allocations: 4 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2362, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2362, allocations: 7.984 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2362, allocations: 4 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2362, allocations: 0 / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.2364, allocations: 171.3 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.2364, allocations: 81.09 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2364, allocations: 4 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.2365, allocations: 0 / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2365, allocations: 4.281 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2365, allocations: 0 / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.2365, allocations: 87.25 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2365, allocations: 0 / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002924/0.2368, allocations: 35.95 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005872/0.2374, allocations: 0.7654 MB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2376, allocations: 31.92 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2376, allocations: 0 / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.2376, allocations: 19.98 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.2378, allocations: 4.125 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.2384, allocations: 424.1 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2385, allocations: 0.6809 MB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.2385, allocations: 4 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.2386, allocations: 11.44 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2386, allocations: 0 / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.2504, allocations: 1.778 MB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.2506, allocations: 244.2 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.832, allocations: 0 / 0.9083 GB, free: 55.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)