Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_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.005576/0.005577, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001181/0.001181, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1636/0.1636, allocations: 4.626 MB / 295.2 MB, free: 3.012 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 59.91 kB / 407.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.383, allocations: 50.51 MB / 458.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005013/0.3881, allocations: 3.972 MB / 462.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3899, allocations: 0.8965 MB / 463.2 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.3902, allocations: 13.12 kB / 463.2 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.3905, allocations: 83.47 kB / 463.3 MB, free: 16.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.3908, allocations: 169.3 kB / 463.4 MB, free: 16.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.3914, allocations: 178.2 kB / 463.6 MB, free: 16.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008263/0.3922, allocations: 0.7576 MB / 464.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.393, allocations: 0.5066 MB / 464.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.3934, allocations: 283.1 kB / 465.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.3939, allocations: 292.5 kB / 465.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.3941, allocations: 83.94 kB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3942, allocations: 89.03 kB / 465.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3945, allocations: 155.3 kB / 465.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.3949, allocations: 346.8 kB / 466.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3961, allocations: 0.8363 MB / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.3962, allocations: 0.7031 kB / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.3962, allocations: 0 / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.3962, allocations: 1.438 kB / 466.9 MB, free: 14.43 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002056/0.3983, allocations: 0.8888 MB / 467.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3983, allocations: 10.56 kB / 467.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.3985, allocations: 90.17 kB / 467.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.3986, allocations: 64.28 kB / 468 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.3992, allocations: 381.5 kB / 468.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.3992, allocations: 32.38 kB / 468.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3994, allocations: 52.66 kB / 468.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4007, allocations: 0.5965 MB / 469 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4007, allocations: 3.938 kB / 469 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.4008, allocations: 16.62 kB / 469.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.4008, allocations: 11.41 kB / 469.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4019, allocations: 468.5 kB / 469.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.405, allocations: 1.888 MB / 471.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.4059, allocations: 431.6 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.4066, allocations: 285.7 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.4066, allocations: 3.094 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.4073, allocations: 318.8 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.244e-06/0.4073, allocations: 1.375 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001676/0.409, allocations: 0.6567 MB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.4091, allocations: 82.58 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.4096, allocations: 335.3 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.4096, allocations: 36.81 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4098, allocations: 252.9 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.41, allocations: 129.8 kB / 473.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.4102, allocations: 79.14 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4103, allocations: 351.9 kB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.4108, allocations: 207.8 kB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.4114, allocations: 268.3 kB / 474.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.4124, allocations: 0.5038 MB / 475.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4124, allocations: 0.5156 kB / 475.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00123/0.4136, allocations: 0.5931 MB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.4137, allocations: 38.91 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4137, allocations: 2.5 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/0.4137, allocations: 4.125 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.4144, allocations: 126.8 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4144, allocations: 3.969 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.4148, allocations: 49.69 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.4148, allocations: 20.72 kB / 476.1 MB, free: 9.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002647/0.4151, allocations: 218.8 kB / 476.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.4152, allocations: 36.12 kB / 476.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.416, allocations: 459.8 kB / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.416, allocations: 3.594 kB / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4161, allocations: 0 / 476.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4161, allocations: 7.719 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.4167, allocations: 0.5905 MB / 477.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4167, allocations: 4.062 kB / 477.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.4173, allocations: 112.5 kB / 477.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4173, allocations: 1.438 kB / 477.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.4174, allocations: 17.31 kB / 477.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4174, allocations: 5.406 kB / 477.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4174, allocations: 1.5 kB / 477.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.4189, allocations: 0.7754 MB / 478.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.419, allocations: 117.6 kB / 478.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.419, allocations: 15.34 kB / 478.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4193, allocations: 24.52 kB / 478.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4194, allocations: 35.83 kB / 478.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4195, allocations: 13.36 kB / 478.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.4198, allocations: 239.9 kB / 478.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4198, allocations: 0 / 478.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.4203, allocations: 132.6 kB / 478.9 MB, free: 7.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.00165/0.4219, allocations: 1.335 MB / 480.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.4231, allocations: 0.5254 MB / 480.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4231, allocations: 384 / 480.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.4237, allocations: 249.7 kB / 481 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.4241, allocations: 58.02 kB / 481.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.432, allocations: 4.447 MB / 485.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4325, allocations: 0.8624 MB / 486.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.4328, allocations: 64.5 kB / 486.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.433, allocations: 152.6 kB / 486.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 1.493e-06/0.433, allocations: 0 / 486.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.4669, allocations: 8.867 MB / 495.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.286, allocations: 14.52 kB / 495.5 MB, free: 13.18 MB / 366.1 MB (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)