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.0009257/0.0009257, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.00562/0.00562, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.476/1.476, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.706/1.706, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000528/0.000528, allocations: 14.19 kB / 0.6744 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2329, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001349/0.2343, allocations: 0.9509 MB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.2352, allocations: 412.7 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.2352, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.2353, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.2353, allocations: 7.938 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2358, allocations: 83.84 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2359, allocations: 23.86 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2359, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.368e-05/0.236, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.236, allocations: 15.91 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.236, allocations: 4 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2362, allocations: 95.84 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2362, allocations: 0 / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.2363, allocations: 45.62 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2365, allocations: 95.81 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2365, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2365, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2365, allocations: 0 / 0.7897 GB, free: 9.758 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.0004539/0.237, allocations: 373.4 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.237, allocations: 8.031 kB / 0.79 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.2371, allocations: 34.75 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2371, allocations: 0.9375 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2372, allocations: 168.3 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2373, allocations: 8.359 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2373, allocations: 4.312 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2374, allocations: 42.25 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2374, allocations: 3.938 kB / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2374, allocations: 0 / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2374, allocations: 0 / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.2374, allocations: 4 kB / 0.7903 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.2378, allocations: 253 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.2379, allocations: 38.45 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.2379, allocations: 20.94 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2379, allocations: 0 / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.2382, allocations: 55.41 kB / 0.7906 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2382, allocations: 4 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.2384, allocations: 81.61 kB / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.2384, allocations: 55.34 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.2385, allocations: 97.84 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2386, allocations: 29.7 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.2386, allocations: 88.08 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2386, allocations: 15.75 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2387, allocations: 17.7 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.2389, allocations: 318.8 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.2389, allocations: 8 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.239, allocations: 39.41 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.654e-05/0.239, allocations: 47.55 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.239, allocations: 3.938 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001409/0.2392, allocations: 77.61 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2392, allocations: 4 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2392, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2392, allocations: 4 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.2393, allocations: 15.94 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2393, allocations: 3.984 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.2394, allocations: 3.906 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2394, allocations: 4 kB / 0.7915 GB, free: 7.598 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.282e-05/0.2395, allocations: 121.8 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.2395, allocations: 0 / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2395, allocations: 3.562 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2395, allocations: 4 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2395, allocations: 0 / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2395, allocations: 0 / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.2399, allocations: 302.5 kB / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2399, allocations: 0 / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.2399, allocations: 0 / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2399, allocations: 8 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2399, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2399, allocations: 3.984 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2399, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2401, allocations: 167.3 kB / 0.7921 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.2402, allocations: 77.11 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2402, allocations: 4.375 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.2402, allocations: 7.984 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.2403, allocations: 4 kB / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2403, allocations: 8 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2404, allocations: 79.22 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2404, allocations: 3.938 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000275/0.2407, allocations: 39.92 kB / 0.7923 GB, free: 6.676 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.0006958/0.2414, allocations: 0.7728 MB / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2415, allocations: 35.92 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2415, allocations: 0 / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.2416, allocations: 19.92 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.2418, allocations: 6.672 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2431, allocations: 1.275 MB / 0.7944 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2434, allocations: 0.677 MB / 0.795 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.2434, allocations: 7.906 kB / 0.795 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.2435, allocations: 15.44 kB / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2435, allocations: 0 / 0.7951 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.2547, allocations: 1.75 MB / 0.7968 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.2549, allocations: 243.5 kB / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.939, allocations: 4.062 kB / 0.797 GB, free: 1.84 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)