Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007989/0.007989, allocations: 95.17 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.001515/0.001516, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1793/0.1793, allocations: 4.624 MB / 295.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 408.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.315, allocations: 50.5 MB / 458.7 MB, free: 20.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00253/0.3175, allocations: 1.672 MB / 460.4 MB, free: 18.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.3183, allocations: 471.5 kB / 460.9 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.3184, allocations: 6.938 kB / 460.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3185, allocations: 18.17 kB / 460.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.3186, allocations: 21.28 kB / 460.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.3188, allocations: 42.16 kB / 460.9 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.319, allocations: 125.4 kB / 461.1 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3191, allocations: 49.06 kB / 461.1 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3193, allocations: 53.31 kB / 461.2 MB, free: 18.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3194, allocations: 55.86 kB / 461.2 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.3194, allocations: 12.75 kB / 461.2 MB, free: 18.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.3194, allocations: 8.875 kB / 461.2 MB, free: 18.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.3195, allocations: 20.08 kB / 461.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.3196, allocations: 53.23 kB / 461.3 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.3198, allocations: 104.2 kB / 461.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3198, allocations: 3.938 kB / 461.4 MB, free: 18.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3198, allocations: 0 / 461.4 MB, free: 18.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3198, allocations: 0 / 461.4 MB, free: 18.35 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007744/0.3206, allocations: 472 kB / 461.9 MB, free: 17.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3206, allocations: 9.031 kB / 461.9 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.3207, allocations: 15.83 kB / 461.9 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3208, allocations: 205.2 kB / 462.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3209, allocations: 4.172 kB / 462.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.3209, allocations: 14.5 kB / 462.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.3213, allocations: 172 kB / 462.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3213, allocations: 0 / 462.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3213, allocations: 0 / 462.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3213, allocations: 2.875 kB / 462.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.3217, allocations: 120.9 kB / 462.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.3224, allocations: 0.7072 MB / 463.1 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.3228, allocations: 172.3 kB / 463.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.323, allocations: 85.62 kB / 463.4 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.323, allocations: 7.578 kB / 463.4 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.3233, allocations: 155.2 kB / 463.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3233, allocations: 0 / 463.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007249/0.3241, allocations: 243.8 kB / 463.8 MB, free: 16.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3241, allocations: 158 kB / 463.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3243, allocations: 166.7 kB / 464.1 MB, free: 16.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3243, allocations: 32.86 kB / 464.1 MB, free: 16.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.3244, allocations: 106 kB / 464.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.3244, allocations: 29.84 kB / 464.2 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.3245, allocations: 30.05 kB / 464.3 MB, free: 16.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.3245, allocations: 326.2 kB / 464.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3247, allocations: 55.12 kB / 464.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.3249, allocations: 94.84 kB / 464.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.3253, allocations: 176.4 kB / 464.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3253, allocations: 3.938 kB / 464.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004477/0.3258, allocations: 213.9 kB / 465.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.3258, allocations: 32.91 kB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3258, allocations: 3.031 kB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3258, allocations: 12 kB / 465.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.326, allocations: 29.95 kB / 465.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.326, allocations: 2.969 kB / 465.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3262, allocations: 26.33 kB / 465.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3262, allocations: 3.656 kB / 465.2 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.698e-05/0.3263, allocations: 130.8 kB / 465.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3263, allocations: 14.19 kB / 465.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3265, allocations: 96.09 kB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3265, allocations: 4.125 kB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3265, allocations: 2.938 kB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3265, allocations: 0 / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3268, allocations: 320 kB / 465.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3268, allocations: 5.281 kB / 465.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3269, allocations: 32.8 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3269, allocations: 2.5 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.327, allocations: 7 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.327, allocations: 1.984 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.327, allocations: 1.125 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.3274, allocations: 289.3 kB / 466.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.3274, allocations: 94.34 kB / 466.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.3275, allocations: 4.312 kB / 466.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3277, allocations: 15.83 kB / 466.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.3277, allocations: 26.23 kB / 466.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3278, allocations: 3.875 kB / 466.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.3278, allocations: 130.5 kB / 466.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3279, allocations: 0 / 466.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3281, allocations: 18.84 kB / 466.4 MB, free: 14.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0001147/0.3282, allocations: 107.9 kB / 466.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005491/0.3288, allocations: 206.5 kB / 466.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3288, allocations: 0 / 466.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.3291, allocations: 80.17 kB / 466.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3294, allocations: 22.98 kB / 466.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.33, allocations: 282.2 kB / 467.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3303, allocations: 0.7184 MB / 467.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.3303, allocations: 12.5 kB / 467.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3304, allocations: 17.39 kB / 467.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3304, allocations: 1.344 kB / 467.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004911/0.3353, allocations: 1.376 MB / 469.2 MB, free: 13.14 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)