Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.008215/0.008215, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002125/0.002125, allocations: 202.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1395/0.1395, allocations: 4.638 MB / 295.2 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.89 kB / 407.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2788, allocations: 50.49 MB / 458.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004038/0.2829, allocations: 2.863 MB / 461.2 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2842, allocations: 0.687 MB / 461.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.2844, allocations: 3 kB / 461.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.2846, allocations: 49.19 kB / 461.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2849, allocations: 84.48 kB / 462 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.2853, allocations: 111 kB / 462.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.2857, allocations: 401.5 kB / 462.5 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.2861, allocations: 244.6 kB / 462.7 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2863, allocations: 155.5 kB / 462.9 MB, free: 16.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2865, allocations: 163.4 kB / 463 MB, free: 16.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.2866, allocations: 40.59 kB / 463.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.2866, allocations: 43.84 kB / 463.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.2867, allocations: 81.14 kB / 463.2 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2869, allocations: 178.2 kB / 463.4 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.2873, allocations: 426.1 kB / 463.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2873, allocations: 0 / 463.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2873, allocations: 3.156 kB / 463.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.2874, allocations: 0 / 463.8 MB, free: 16.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001231/0.2886, allocations: 0.6478 MB / 464.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2887, allocations: 11.53 kB / 464.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.2887, allocations: 61.02 kB / 464.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2888, allocations: 32.17 kB / 464.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.289, allocations: 279.6 kB / 464.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.2891, allocations: 21.84 kB / 464.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2891, allocations: 32.05 kB / 464.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.2898, allocations: 334.6 kB / 465.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2898, allocations: 3.938 kB / 465.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2899, allocations: 14.38 kB / 465.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2899, allocations: 6.516 kB / 465.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.2906, allocations: 276.6 kB / 465.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.292, allocations: 1.044 MB / 466.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.2928, allocations: 299.2 kB / 466.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.2932, allocations: 162.3 kB / 467 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.2932, allocations: 2.75 kB / 467 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.2937, allocations: 193.1 kB / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.2937, allocations: 0 / 467.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001101/0.2948, allocations: 425.7 kB / 467.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2948, allocations: 58.33 kB / 467.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2951, allocations: 234.2 kB / 467.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2951, allocations: 32.31 kB / 467.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.2952, allocations: 166.4 kB / 468.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.2953, allocations: 78.75 kB / 468.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.2954, allocations: 47.61 kB / 468.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.2955, allocations: 332.3 kB / 468.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.2958, allocations: 123.7 kB / 468.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2962, allocations: 166.1 kB / 468.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.2969, allocations: 315.6 kB / 469.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2969, allocations: 0 / 469.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009239/0.2979, allocations: 386.9 kB / 469.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.2979, allocations: 43.3 kB / 469.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2979, allocations: 1.125 kB / 469.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.298, allocations: 3.562 kB / 469.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2983, allocations: 63.12 kB / 469.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2983, allocations: 7.25 kB / 469.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2986, allocations: 35.78 kB / 469.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.2986, allocations: 10.97 kB / 469.7 MB, free: 12.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001637/0.2988, allocations: 164.1 kB / 469.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.2988, allocations: 25.81 kB / 469.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007464/0.2996, allocations: 332.1 kB / 470.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2996, allocations: 1.375 kB / 470.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2996, allocations: 1.375 kB / 470.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2996, allocations: 1.453 kB / 470.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3, allocations: 393.2 kB / 470.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3, allocations: 0 / 470.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.3003, allocations: 57.09 kB / 470.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3003, allocations: 1.375 kB / 470.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3004, allocations: 8.109 kB / 470.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3004, allocations: 0 / 470.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3004, allocations: 1.375 kB / 470.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3014, allocations: 0.4962 MB / 471.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3015, allocations: 108.8 kB / 471.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.3015, allocations: 6.5 kB / 471.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3017, allocations: 20.92 kB / 471.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3018, allocations: 25.34 kB / 471.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3019, allocations: 10.91 kB / 471.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.302, allocations: 165.6 kB / 471.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.302, allocations: 0 / 471.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.3023, allocations: 69.86 kB / 471.5 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001238/0.3036, allocations: 1.041 MB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.3043, allocations: 358.5 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3044, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.3047, allocations: 147.5 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.305, allocations: 36.41 kB / 473.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.3092, allocations: 2.938 MB / 476 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3095, allocations: 0.7722 MB / 476.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3097, allocations: 36.3 kB / 476.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3099, allocations: 87.61 kB / 476.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3099, allocations: 0 / 476.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3392, allocations: 5.473 MB / 482.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.468, allocations: 18.08 kB / 482.4 MB, free: 6.324 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)