Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 117.1 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8604/0.8604, allocations: 129.2 MB / 432.5 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 179] 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.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002921/0.002921, allocations: 71.89 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4024, allocations: 83.43 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002418/0.4048, allocations: 1.665 MB / 0.6818 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.4056, allocations: 0.5514 MB / 0.6823 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.4056, allocations: 6.094 kB / 0.6823 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.4058, allocations: 27.14 kB / 0.6823 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.406, allocations: 59.8 kB / 0.6824 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.4061, allocations: 67.91 kB / 0.6825 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.4063, allocations: 129.9 kB / 0.6826 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4064, allocations: 41.58 kB / 0.6826 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.4065, allocations: 61.2 kB / 0.6827 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.4066, allocations: 59.41 kB / 0.6827 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.4066, allocations: 8.031 kB / 0.6828 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.4067, allocations: 24.72 kB / 0.6828 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.4068, allocations: 44.27 kB / 0.6828 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.4068, allocations: 63.27 kB / 0.6829 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.407, allocations: 143.1 kB / 0.683 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.407, allocations: 0 / 0.683 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.113e-06/0.407, allocations: 4 kB / 0.683 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.407, allocations: 1.344 kB / 0.683 GB, free: 3.789 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005192/0.4075, allocations: 473.1 kB / 0.6835 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4076, allocations: 9 kB / 0.6835 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.4076, allocations: 41.64 kB / 0.6835 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.4077, allocations: 17.97 kB / 0.6835 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4079, allocations: 242 kB / 0.6838 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4079, allocations: 5.406 kB / 0.6838 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.408, allocations: 4.25 kB / 0.6838 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.4082, allocations: 121 kB / 0.6839 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4082, allocations: 0 / 0.6839 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4082, allocations: 1.219 kB / 0.6839 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4082, allocations: 2.219 kB / 0.6839 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.4085, allocations: 67.38 kB / 0.684 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.409, allocations: 376.2 kB / 0.6843 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4091, allocations: 39.86 kB / 0.6844 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.4092, allocations: 30.42 kB / 0.6844 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4092, allocations: 3.984 kB / 0.6844 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.4094, allocations: 106.8 kB / 0.6845 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4094, allocations: 0 / 0.6845 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000408/0.4098, allocations: 120.7 kB / 0.6846 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.4099, allocations: 81.05 kB / 0.6847 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4101, allocations: 264 kB / 0.6849 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.4101, allocations: 26.92 kB / 0.685 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.4102, allocations: 133.3 kB / 0.6851 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.4102, allocations: 5.234 kB / 0.6851 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.4102, allocations: 17.38 kB / 0.6851 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.4103, allocations: 334.7 kB / 0.6854 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4104, allocations: 21.34 kB / 0.6855 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4105, allocations: 51.28 kB / 0.6855 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4107, allocations: 75.17 kB / 0.6856 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4107, allocations: 1.281 kB / 0.6856 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002503/0.4109, allocations: 101.7 kB / 0.6857 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4109, allocations: 10.16 kB / 0.6857 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.411, allocations: 0 / 0.6857 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.411, allocations: 5.344 kB / 0.6857 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4111, allocations: 12.36 kB / 0.6857 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4111, allocations: 5.062 kB / 0.6857 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.4112, allocations: 14.92 kB / 0.6857 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4112, allocations: 1.406 kB / 0.6857 GB, free: 1.324 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.823e-05/0.4113, allocations: 129.1 kB / 0.6858 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.4113, allocations: 23.83 kB / 0.6859 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.4114, allocations: 19.62 kB / 0.6859 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4114, allocations: 3.984 kB / 0.6859 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4114, allocations: 0 / 0.6859 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4114, allocations: 1.375 kB / 0.6859 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.4115, allocations: 215.3 kB / 0.6861 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4115, allocations: 0 / 0.6861 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.4116, allocations: 11.89 kB / 0.6861 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4116, allocations: 0 / 0.6861 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4116, allocations: 5.156 kB / 0.6861 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4116, allocations: 4 kB / 0.6861 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4116, allocations: 1.25 kB / 0.6861 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4119, allocations: 123.8 kB / 0.6862 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.4119, allocations: 93.34 kB / 0.6863 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.412, allocations: 3.938 kB / 0.6863 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.412, allocations: 14.95 kB / 0.6863 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.4121, allocations: 5.5 kB / 0.6863 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.4121, allocations: 8.453 kB / 0.6864 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001517/0.4123, allocations: 183.5 kB / 0.6865 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4123, allocations: 5.469 kB / 0.6865 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000223/0.4125, allocations: 21 kB / 0.6866 GB, free: 0.5586 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005479/0.413, allocations: 0.6814 MB / 0.6872 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.4133, allocations: 58.67 kB / 0.6873 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4133, allocations: 0 / 0.6873 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4134, allocations: 28.91 kB / 0.6873 GB, free: 15.87 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.4137, allocations: 42.42 kB / 0.6873 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.4159, allocations: 1.749 MB / 0.689 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4163, allocations: 0.7198 MB / 0.6898 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.4163, allocations: 15.31 kB / 0.6898 GB, free: 13.67 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4164, allocations: 41.45 kB / 0.6898 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of SimCode: time 4.1e-07/0.4164, allocations: 0 / 0.6898 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.4435, allocations: 3.638 MB / 0.6934 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.581, allocations: 11.22 kB / 0.6934 GB, free: 11.74 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.944738881196827] Failed to read output from testmodel.py, exit status != 0: 8.651826680172235 8.667099574 8.257215406 Calling exit ...