Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001981/0.001981, allocations: 106 kB / 16.4 MB, free: 6.508 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.002405/0.002405, allocations: 195.9 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.207/2.207, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.941/0.941, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.34 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2895, allocations: 76.18 MB / 0.6316 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00689/0.2964, allocations: 2.97 MB / 0.6345 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2992, allocations: 0.9158 MB / 0.6354 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.2998, allocations: 11.94 kB / 0.6354 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.3001, allocations: 63.33 kB / 0.6354 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.3005, allocations: 87.17 kB / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.3013, allocations: 222.1 kB / 0.6357 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.3021, allocations: 495.1 kB / 0.6362 GB, free: 192 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.3027, allocations: 213.6 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.303, allocations: 191.2 kB / 0.6366 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.3034, allocations: 171.1 kB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3035, allocations: 44 kB / 0.6368 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.898e-05/0.3036, allocations: 44 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3038, allocations: 95.62 kB / 0.6369 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.3041, allocations: 202.9 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.3049, allocations: 0.5018 MB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3049, allocations: 0 / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3049, allocations: 4 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3049, allocations: 0 / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001654/0.3066, allocations: 0.7205 MB / 0.6383 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3067, allocations: 16.03 kB / 0.6383 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.3068, allocations: 66.7 kB / 0.6384 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3069, allocations: 52.38 kB / 0.6384 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.3079, allocations: 388.5 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.308, allocations: 25.03 kB / 0.6388 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.3081, allocations: 28.38 kB / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.3089, allocations: 341.2 kB / 0.6392 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.309, allocations: 0 / 0.6392 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.309, allocations: 16 kB / 0.6392 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3091, allocations: 8 kB / 0.6392 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007566/0.3098, allocations: 222 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.3122, allocations: 1.178 MB / 0.6406 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.3131, allocations: 234.7 kB / 0.6408 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.3135, allocations: 116.8 kB / 0.6409 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.3135, allocations: 0 / 0.6409 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3136, allocations: 42.92 kB / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.3136, allocations: 0 / 0.6409 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=22): time 0.001117/0.3147, allocations: 293 kB / 0.6412 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3148, allocations: 106.8 kB / 0.6413 GB, free: 10.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.3154, allocations: 337.6 kB / 0.6416 GB, free: 10.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.3155, allocations: 33.64 kB / 0.6417 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3158, allocations: 224.2 kB / 0.6419 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3159, allocations: 74.89 kB / 0.642 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.316, allocations: 53.7 kB / 0.642 GB, free: 9.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3162, allocations: 346.8 kB / 0.6423 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.3165, allocations: 75.91 kB / 0.6424 GB, free: 9.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.317, allocations: 139.7 kB / 0.6426 GB, free: 9.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.3176, allocations: 209.4 kB / 0.6428 GB, free: 9.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.3177, allocations: 3.938 kB / 0.6428 GB, free: 9.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008292/0.3185, allocations: 284.9 kB / 0.643 GB, free: 8.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.3185, allocations: 9.25 kB / 0.643 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3186, allocations: 0 / 0.643 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.3186, allocations: 4 kB / 0.643 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.319, allocations: 55.91 kB / 0.6431 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.319, allocations: 4.188 kB / 0.6431 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3193, allocations: 35.77 kB / 0.6431 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3194, allocations: 8 kB / 0.6431 GB, free: 8.723 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002596/0.3196, allocations: 161.7 kB / 0.6433 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.3197, allocations: 39.52 kB / 0.6433 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.3199, allocations: 39.36 kB / 0.6434 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.3199, allocations: 7.984 kB / 0.6434 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3199, allocations: 0 / 0.6434 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.32, allocations: 4 kB / 0.6434 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.3207, allocations: 393.2 kB / 0.6438 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3207, allocations: 4 kB / 0.6438 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.321, allocations: 43.91 kB / 0.6438 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3211, allocations: 0 / 0.6438 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3211, allocations: 4 kB / 0.6438 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3211, allocations: 4 kB / 0.6438 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3211, allocations: 3.938 kB / 0.6438 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3222, allocations: 424.8 kB / 0.6442 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3224, allocations: 132.6 kB / 0.6443 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.3225, allocations: 4 kB / 0.6443 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.3228, allocations: 15.98 kB / 0.6444 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3229, allocations: 19.97 kB / 0.6444 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.3229, allocations: 11.94 kB / 0.6444 GB, free: 7.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.3233, allocations: 243.2 kB / 0.6446 GB, free: 7.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3233, allocations: 0 / 0.6446 GB, free: 7.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006043/0.324, allocations: 67.84 kB / 0.6447 GB, free: 7.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0017/0.3257, allocations: 0.9639 MB / 0.6456 GB, free: 6.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.3263, allocations: 199.1 kB / 0.6458 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3264, allocations: 0 / 0.6458 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.3266, allocations: 100.4 kB / 0.6459 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.3275, allocations: 81.17 kB / 0.646 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.3334, allocations: 3.107 MB / 0.649 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.334, allocations: 0.7951 MB / 0.6498 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.3342, allocations: 42.91 kB / 0.6498 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.3345, allocations: 119.4 kB / 0.65 GB, free: 1.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3345, allocations: 0 / 0.65 GB, free: 1.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7745/1.109, allocations: 6.769 MB / 0.6566 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.22, allocations: 14.94 kB / 0.6566 GB, free: 10.83 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)