Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.001036/0.001036, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001082/0.001082, allocations: 194.6 kB / 16.26 MB, free: 6.633 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.339/1.339, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.656/1.656, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001358/0.001358, allocations: 63.86 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2001, allocations: 114.6 MB / 0.783 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002251/0.2024, allocations: 1.29 MB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000734/0.2032, allocations: 404.6 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2032, allocations: 4 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2032, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.2033, allocations: 3.938 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.2037, allocations: 95.78 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.2038, allocations: 19.92 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.2038, allocations: 4 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.2039, allocations: 8 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.2039, allocations: 11.91 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2039, allocations: 4 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.2041, allocations: 95.84 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.2041, allocations: 11.98 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.2041, allocations: 7.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2043, allocations: 87.81 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2043, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2043, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2043, allocations: 0 / 0.785 GB, free: 11.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004077/0.2047, allocations: 385.4 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2048, allocations: 15.97 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.2048, allocations: 30.75 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.2049, allocations: 4.922 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.355e-05/0.2049, allocations: 172.2 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.205, allocations: 4.359 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.205, allocations: 4.375 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.2051, allocations: 42.25 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2051, allocations: 3.938 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2051, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2051, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.2052, allocations: 7.984 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.2054, allocations: 244.9 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.2055, allocations: 42.5 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.2056, allocations: 16.86 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.2056, allocations: 0 / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.2057, allocations: 63.48 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 4.619e-06/0.2057, allocations: 0 / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00018/0.2059, allocations: 77.56 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2059, allocations: 59.39 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.206, allocations: 97.86 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.206, allocations: 29.7 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.2061, allocations: 80.14 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2061, allocations: 19.73 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2061, allocations: 25.7 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.2062, allocations: 310.8 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.2063, allocations: 15.98 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.2063, allocations: 35.44 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.2064, allocations: 47.36 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2064, allocations: 3.938 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.841e-05/0.2065, allocations: 81.81 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2065, allocations: 8.062 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2065, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2065, allocations: 4 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.2066, allocations: 8 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.2066, allocations: 0 / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.2066, allocations: 7.906 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2066, allocations: 4 kB / 0.7868 GB, free: 9.617 MB / 0.6075 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.2067, allocations: 113.8 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.2067, allocations: 7.922 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2068, allocations: 11.56 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.2068, allocations: 7.938 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2068, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2068, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2071, allocations: 294.6 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2071, allocations: 4 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.2071, allocations: 0 / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2071, allocations: 0 / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2071, allocations: 4 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2071, allocations: 0 / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2071, allocations: 4.312 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.2073, allocations: 175.3 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.2073, allocations: 77.11 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2074, allocations: 0 / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.2074, allocations: 7.938 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.2074, allocations: 0 / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2074, allocations: 3.984 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.2075, allocations: 87.28 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2075, allocations: 0 / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000281/0.2078, allocations: 35.94 kB / 0.7876 GB, free: 8.695 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: 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 (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.0006398/0.2084, allocations: 0.7777 MB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2085, allocations: 36.16 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2086, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.2086, allocations: 16 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2088, allocations: 96 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2098, allocations: 1.285 MB / 0.7897 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2101, allocations: 0.6845 MB / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.2101, allocations: 0 / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.2101, allocations: 15.42 kB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2101, allocations: 0 / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.2225, allocations: 1.876 MB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.2227, allocations: 260.3 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.975, allocations: 0 / 0.7924 GB, free: 3.703 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)