Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.756/2.756, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 173.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 93.61 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001079, allocations: 10.41 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2441, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001854/0.246, allocations: 1.195 MB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2476, allocations: 0.7464 MB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.2477, allocations: 3.938 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2478, allocations: 4 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2479, allocations: 23.89 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.2485, allocations: 91.7 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2486, allocations: 55.86 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.2487, allocations: 4 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2488, allocations: 35.91 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.2489, allocations: 39.83 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.249, allocations: 4 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2492, allocations: 67.92 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2492, allocations: 15.92 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.2492, allocations: 37.7 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.2494, allocations: 104 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2495, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2495, allocations: 3.938 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2495, allocations: 0 / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000771/0.2503, allocations: 454.4 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2503, allocations: 16.02 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.2504, allocations: 30.56 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/0.2504, allocations: 11.86 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2506, allocations: 171 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2506, allocations: 8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.2506, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2509, allocations: 85.52 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2509, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2509, allocations: 4 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2509, allocations: 3.984 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2512, allocations: 43.97 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.2518, allocations: 320.7 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.2521, allocations: 70.58 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2521, allocations: 4.141 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.2524, allocations: 95.36 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.2524, allocations: 0 / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005675/0.253, allocations: 165.4 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.253, allocations: 55.41 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2532, allocations: 138.9 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2532, allocations: 29.7 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.2532, allocations: 88.38 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.2533, allocations: 23.7 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.2533, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.2534, allocations: 318.8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2535, allocations: 31.92 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2537, allocations: 65.77 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.2538, allocations: 39.92 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2538, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003559/0.2542, allocations: 137.8 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2542, allocations: 4 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2542, allocations: 4 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2543, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2544, allocations: 23.86 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2545, allocations: 3.953 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2546, allocations: 28.05 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2547, allocations: 4 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001061/0.2548, allocations: 119.7 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2548, allocations: 7.906 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.2553, allocations: 149.9 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2553, allocations: 8 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2553, allocations: 0 / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2554, allocations: 7.938 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.2561, allocations: 438.3 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2561, allocations: 0 / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2562, allocations: 15.98 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.2563, allocations: 0 / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2563, allocations: 7.953 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2563, allocations: 4 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2563, allocations: 0 / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.2567, allocations: 231.3 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.2568, allocations: 85.02 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2568, allocations: 8.094 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.257, allocations: 15.94 kB / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.2571, allocations: 11.97 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.2571, allocations: 4 kB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.2572, allocations: 100.8 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2572, allocations: 0 / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004416/0.2576, allocations: 39.98 kB / 0.9842 GB, free: 21.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009017/0.2586, allocations: 0.8322 MB / 0.985 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.2589, allocations: 83.91 kB / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.259, allocations: 0 / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2591, allocations: 47.91 kB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.2595, allocations: 24.19 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2605, allocations: 1.221 MB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2607, allocations: 0.6965 MB / 0.9871 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.2607, allocations: 8.438 kB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.2608, allocations: 31.36 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2608, allocations: 0 / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2884, allocations: 2.71 MB / 0.9897 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.2887, allocations: 230.8 kB / 0.99 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.001, allocations: 0 / 0.99 GB, free: 15.98 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)