Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.0009065/0.0009065, allocations: 98.27 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.005767/0.005767, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.45/1.45, 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.727/1.727, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005741/0.0005741, allocations: 14.78 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2451, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00138/0.2465, allocations: 0.9391 MB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.2474, allocations: 396.8 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.2475, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.2475, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.2475, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.2481, allocations: 87.78 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.2481, allocations: 15.94 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.2482, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.2482, allocations: 7.984 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.2482, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.2483, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2485, allocations: 91.84 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2485, allocations: 7.922 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.2486, allocations: 37.69 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2487, allocations: 75.83 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2488, allocations: 8 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2488, allocations: 0 / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2488, allocations: 0 / 0.7896 GB, free: 9.797 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.0004167/0.2492, allocations: 331.9 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2492, allocations: 8.031 kB / 0.7899 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.2493, allocations: 46.64 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.2494, allocations: 0.9375 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2495, allocations: 168.3 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2495, allocations: 8.375 kB / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2495, allocations: 384 / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2496, allocations: 42.25 kB / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2496, allocations: 7.875 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2497, allocations: 3.984 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2497, allocations: 0 / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.2497, allocations: 4 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.25, allocations: 248.9 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.2501, allocations: 38.5 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.2502, allocations: 12.86 kB / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.2502, allocations: 0 / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.2503, allocations: 63.48 kB / 0.7906 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2503, allocations: 7.938 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001896/0.2505, allocations: 77.53 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2506, allocations: 51.41 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.2507, allocations: 101.8 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2507, allocations: 25.7 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.2507, allocations: 80.14 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2507, allocations: 15.89 kB / 0.7909 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.2508, allocations: 13.72 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2509, allocations: 323 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.2509, allocations: 8 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.251, allocations: 35.42 kB / 0.7913 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.251, allocations: 47.38 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.251, allocations: 3.938 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001145/0.2512, allocations: 85.44 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2512, allocations: 4 kB / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2512, allocations: 4 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2512, allocations: 0 / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.2513, allocations: 8 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2513, allocations: 0 / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.2513, allocations: 7.938 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2513, allocations: 3.984 kB / 0.7914 GB, free: 7.688 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.807e-05/0.2514, allocations: 121.8 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2514, allocations: 0 / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.2515, allocations: 7.562 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2515, allocations: 0 / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2515, allocations: 3.938 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2515, allocations: 0 / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.2517, allocations: 302.6 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2517, allocations: 0 / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2518, allocations: 3.938 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2518, allocations: 4 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.2518, allocations: 4 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2518, allocations: 0 / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2518, allocations: 0 / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.252, allocations: 171.3 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.252, allocations: 77.11 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.252, allocations: 8.312 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.2521, allocations: 0 / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.2521, allocations: 7.984 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2521, allocations: 8 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.2521, allocations: 79.28 kB / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2521, allocations: 0 / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002819/0.2524, allocations: 27.94 kB / 0.7922 GB, free: 6.773 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.0006526/0.2531, allocations: 0.7596 MB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.2532, allocations: 36.06 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2532, allocations: 0 / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.2533, allocations: 19.92 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2535, allocations: 4 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2545, allocations: 1.263 MB / 0.7942 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2547, allocations: 0.677 MB / 0.7949 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.2548, allocations: 4 kB / 0.7949 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.2548, allocations: 11.44 kB / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.374e-06/0.2548, allocations: 0 / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.266, allocations: 1.669 MB / 0.7965 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.2662, allocations: 266 kB / 0.7968 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.939, allocations: 0 / 0.7968 GB, free: 2.012 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)