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.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001242/0.001243, allocations: 179.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008442/0.0008444, allocations: 87.8 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003267, allocations: 8.594 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001071/0.2187, allocations: 0.9416 MB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005879/0.2193, allocations: 401.7 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.2193, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.2194, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.218e-05/0.2194, allocations: 4 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.2198, allocations: 75.78 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.127e-05/0.2198, allocations: 15.92 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.2199, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.2199, allocations: 7.984 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.2199, allocations: 11.94 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2199, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2201, allocations: 79.86 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.2201, allocations: 3.984 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2201, allocations: 33.7 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2203, allocations: 55.91 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.2203, allocations: 4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2203, allocations: 0 / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.2203, allocations: 0 / 0.9017 GB, free: 62.75 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.0003488/0.2206, allocations: 373.1 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2207, allocations: 12.02 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.2207, allocations: 30.56 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.2208, allocations: 7.906 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.2208, allocations: 171.2 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2209, allocations: 8 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2209, allocations: 0 / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.221, allocations: 42.52 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.221, allocations: 0 / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.221, allocations: 3.938 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.221, allocations: 4 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.2211, allocations: 11.94 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.2213, allocations: 244.9 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.2214, allocations: 38.5 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.2214, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.2215, allocations: 59.48 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.2215, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001717/0.2217, allocations: 73.62 kB / 0.9028 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2218, allocations: 55.41 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.2218, allocations: 105.8 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.2218, allocations: 25.7 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.2218, allocations: 84.14 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.2219, allocations: 11.91 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.2219, allocations: 0 / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.2219, allocations: 322.8 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.2219, allocations: 8 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.222, allocations: 35.41 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.222, allocations: 15.94 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.222, allocations: 4 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.463e-05/0.2221, allocations: 85.73 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2221, allocations: 4 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2221, allocations: 0 / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2222, allocations: 4 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.2222, allocations: 4 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2222, allocations: 7.938 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.2222, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2223, allocations: 4 kB / 0.9035 GB, free: 60.69 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 5.228e-05/0.2223, allocations: 129.8 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.2223, allocations: 0 / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.2224, allocations: 3.562 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2224, allocations: 4 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2224, allocations: 0 / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2224, allocations: 0 / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2226, allocations: 298.8 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2226, allocations: 4 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.2226, allocations: 11.94 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2226, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2226, allocations: 8 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2226, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2226, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2227, allocations: 163.4 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.2227, allocations: 81.05 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2228, allocations: 4 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.2228, allocations: 4 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.2228, allocations: 7.984 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.2229, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.025e-05/0.2229, allocations: 79.28 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2229, allocations: 3.938 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002565/0.2232, allocations: 35.98 kB / 0.9043 GB, free: 59.77 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.0004847/0.2236, allocations: 0.7669 MB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.2237, allocations: 36.12 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2238, allocations: 0 / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.2238, allocations: 16 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.2239, allocations: 5.312 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.2244, allocations: 0.817 MB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2245, allocations: 0.677 MB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.2246, allocations: 7.984 kB / 0.9066 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.2246, allocations: 11.44 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2246, allocations: 0 / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.2357, allocations: 1.749 MB / 0.9083 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.2361, allocations: 238.5 kB / 0.9085 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.782, allocations: 0 / 0.9085 GB, free: 55.49 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)