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.005461/0.005461, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001084/0.001084, allocations: 195 kB / 16.67 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 5.081/5.081, allocations: 4.62 MB / 295.2 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 407.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 50.5 MB / 458.3 MB, free: 19.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.00317/0.3037, allocations: 2.868 MB / 461.2 MB, free: 17.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.3046, allocations: 0.687 MB / 461.9 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3048, allocations: 6.062 kB / 461.9 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3049, allocations: 46.44 kB / 461.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.3051, allocations: 87.92 kB / 462 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3054, allocations: 107.5 kB / 462.1 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.3057, allocations: 405.1 kB / 462.5 MB, free: 16.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.3061, allocations: 249.9 kB / 462.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3063, allocations: 156.5 kB / 462.9 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3065, allocations: 154.9 kB / 463 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.3065, allocations: 40.62 kB / 463.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.3066, allocations: 45 kB / 463.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.3066, allocations: 80.97 kB / 463.2 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3068, allocations: 175.1 kB / 463.4 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.3072, allocations: 430.4 kB / 463.8 MB, free: 16.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3072, allocations: 0.5625 kB / 463.8 MB, free: 16.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3073, allocations: 0 / 463.8 MB, free: 16.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3073, allocations: 4 kB / 463.8 MB, free: 16.23 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.001037/0.3083, allocations: 0.6462 MB / 464.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3083, allocations: 9 kB / 464.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.3084, allocations: 65.86 kB / 464.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3085, allocations: 37.94 kB / 464.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3087, allocations: 276.1 kB / 464.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3087, allocations: 21.53 kB / 464.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.3088, allocations: 31.52 kB / 464.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3094, allocations: 333.9 kB / 465.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3094, allocations: 3.938 kB / 465.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3094, allocations: 14.39 kB / 465.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3094, allocations: 5.156 kB / 465.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.3101, allocations: 278 kB / 465.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3115, allocations: 1.04 MB / 466.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.3122, allocations: 299.2 kB / 466.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3125, allocations: 160.3 kB / 467 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3126, allocations: 2.859 kB / 467 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.313, allocations: 200.2 kB / 467.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.313, allocations: 0 / 467.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009232/0.3139, allocations: 419.7 kB / 467.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.314, allocations: 60.23 kB / 467.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3142, allocations: 230.1 kB / 467.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3142, allocations: 30.98 kB / 467.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.3143, allocations: 165.8 kB / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.3143, allocations: 83.64 kB / 468.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.3144, allocations: 48.08 kB / 468.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.3145, allocations: 331.4 kB / 468.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3148, allocations: 132.6 kB / 468.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.3151, allocations: 161.2 kB / 468.8 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.3157, allocations: 315.5 kB / 469.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3157, allocations: 1.094 kB / 469.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000732/0.3165, allocations: 386.2 kB / 469.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3165, allocations: 37.73 kB / 469.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3165, allocations: 1.312 kB / 469.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3165, allocations: 2.594 kB / 469.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3168, allocations: 63.36 kB / 469.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3168, allocations: 6.188 kB / 469.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3171, allocations: 37.12 kB / 469.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3171, allocations: 14.98 kB / 469.7 MB, free: 12.59 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.0001183/0.3172, allocations: 161.1 kB / 469.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3173, allocations: 26.52 kB / 469.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.318, allocations: 327.3 kB / 470.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.318, allocations: 2.75 kB / 470.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.318, allocations: 4.75 kB / 470.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.318, allocations: 0.7969 kB / 470.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3183, allocations: 389.5 kB / 470.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3183, allocations: 0 / 470.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3186, allocations: 62.17 kB / 470.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3186, allocations: 1.375 kB / 470.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3187, allocations: 10.83 kB / 470.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3187, allocations: 1.375 kB / 470.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3187, allocations: 0 / 470.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.3196, allocations: 0.4938 MB / 471.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3197, allocations: 105.2 kB / 471.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3197, allocations: 5.891 kB / 471.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3199, allocations: 25.2 kB / 471.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.32, allocations: 21.95 kB / 471.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.32, allocations: 8.641 kB / 471.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3201, allocations: 166.5 kB / 471.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3201, allocations: 0 / 471.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3204, allocations: 70.05 kB / 471.5 MB, free: 11.5 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.001111/0.3215, allocations: 1.048 MB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.3222, allocations: 346.3 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3222, allocations: 0 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3226, allocations: 148.2 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3229, allocations: 42.56 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.3265, allocations: 2.941 MB / 476 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3267, allocations: 0.7688 MB / 476.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3268, allocations: 34.98 kB / 476.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3269, allocations: 88.12 kB / 476.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3269, allocations: 0 / 476.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5388/0.8658, allocations: 5.468 MB / 482.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/9.319, allocations: 15.75 kB / 482.4 MB, free: 6.23 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 & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)