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: "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.004851/0.004852, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.00134/0.00134, allocations: 195.1 kB / 16.68 MB, free: 5.953 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03612/0.03612, allocations: 4.649 MB / 295.2 MB, free: 10.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 56.09 kB / 407.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07979, allocations: 50.52 MB / 458.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00272/0.08255, allocations: 1.679 MB / 459.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.08332, allocations: 470.8 kB / 460.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.08341, allocations: 7.938 kB / 460.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.08352, allocations: 11.86 kB / 460.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.0836, allocations: 27.8 kB / 460.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.08379, allocations: 39.89 kB / 460.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.08396, allocations: 123.6 kB / 460.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.0841, allocations: 45.42 kB / 460.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.08424, allocations: 55.72 kB / 460.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.08434, allocations: 59.73 kB / 460.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.08437, allocations: 8 kB / 460.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.0844, allocations: 8 kB / 460.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.08445, allocations: 19.92 kB / 460.8 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.08453, allocations: 51.67 kB / 460.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.08469, allocations: 110.4 kB / 460.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.0847, allocations: 0 / 460.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08471, allocations: 0 / 460.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.08472, allocations: 0 / 460.9 MB, free: 6.344 MB / 334.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.000842/0.08556, allocations: 465.5 kB / 461.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.08561, allocations: 8.031 kB / 461.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.08569, allocations: 50.83 kB / 461.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.08574, allocations: 12.75 kB / 461.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.08594, allocations: 214.7 kB / 461.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.08596, allocations: 12.12 kB / 461.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.08599, allocations: 4 kB / 461.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.08638, allocations: 177.8 kB / 461.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.0864, allocations: 4 kB / 461.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.08643, allocations: 8 kB / 461.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.08644, allocations: 0 / 461.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.08682, allocations: 135.7 kB / 462 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.08766, allocations: 0.7354 MB / 462.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.08803, allocations: 169 kB / 462.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.08824, allocations: 88.23 kB / 463 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.08827, allocations: 4 kB / 463 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.08857, allocations: 155.5 kB / 463.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.08858, allocations: 0 / 463.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006757/0.08926, allocations: 237.7 kB / 463.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.08934, allocations: 154.2 kB / 463.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.08949, allocations: 176.9 kB / 463.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.08956, allocations: 33.7 kB / 463.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.08963, allocations: 108 kB / 463.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.08966, allocations: 31.55 kB / 463.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.08972, allocations: 29.7 kB / 463.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.08983, allocations: 330.8 kB / 464.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.09003, allocations: 63.94 kB / 464.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.09023, allocations: 92.23 kB / 464.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.0906, allocations: 173.8 kB / 464.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.09061, allocations: 0 / 464.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004821/0.0911, allocations: 231 kB / 464.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.09115, allocations: 29.7 kB / 464.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.09116, allocations: 4 kB / 464.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.09118, allocations: 4 kB / 464.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.09135, allocations: 23.97 kB / 464.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.09137, allocations: 12.11 kB / 464.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.09155, allocations: 23.83 kB / 464.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.09158, allocations: 11.98 kB / 464.9 MB, free: 1.984 MB / 334.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 0.0001115/0.09169, allocations: 129.7 kB / 465 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.09172, allocations: 11.91 kB / 465 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.09193, allocations: 90.53 kB / 465.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.09194, allocations: 12.02 kB / 465.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.09195, allocations: 0 / 465.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.09196, allocations: 3.938 kB / 465.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.09224, allocations: 326.4 kB / 465.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.09225, allocations: 4 kB / 465.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.09239, allocations: 23.97 kB / 465.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.0924, allocations: 0 / 465.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.09242, allocations: 4 kB / 465.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.09243, allocations: 11.91 kB / 465.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.09244, allocations: 7.984 kB / 465.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.09291, allocations: 282.7 kB / 465.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.09297, allocations: 89.02 kB / 465.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.093, allocations: 7.984 kB / 465.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.09317, allocations: 15.92 kB / 465.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.09326, allocations: 15.98 kB / 465.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.09328, allocations: 11.98 kB / 465.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.09339, allocations: 128 kB / 466 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09339, allocations: 0 / 466 MB, free: 0.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.09366, allocations: 23.91 kB / 466.1 MB, free: 0.6836 MB / 334.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.001023/0.09469, allocations: 0.9037 MB / 467 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.09521, allocations: 199.3 kB / 467.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.09522, allocations: 0 / 467.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.0955, allocations: 88.05 kB / 467.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.09583, allocations: 20.48 kB / 467.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.09851, allocations: 2.046 MB / 469.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.09887, allocations: 0.7236 MB / 470 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.09895, allocations: 16.41 kB / 470 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.09905, allocations: 39.42 kB / 470.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09905, allocations: 0 / 470.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1182, allocations: 2.947 MB / 473 MB, free: 9.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.131, allocations: 15.11 kB / 473 MB, free: 9.559 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)