Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.00132/0.00132, allocations: 114.8 kB / 17.13 MB, free: 5.754 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.001388/0.001388, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.411/1.411, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.8989/0.8989, allocations: 129.2 MB / 432.5 MB, free: 13.19 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.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.83 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004353/0.3734, allocations: 3.882 MB / 0.6839 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3755, allocations: 1.77 MB / 0.6857 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.3757, allocations: 6.438 kB / 0.6857 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.3769, allocations: 0.4911 MB / 0.6862 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.3773, allocations: 228.2 kB / 0.6864 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.3777, allocations: 206 kB / 0.6866 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.3781, allocations: 478.6 kB / 0.687 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.3785, allocations: 291.1 kB / 0.6873 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3787, allocations: 194.9 kB / 0.6875 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.379, allocations: 228.9 kB / 0.6877 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.3791, allocations: 28.31 kB / 0.6877 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.3795, allocations: 254.2 kB / 0.688 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.3795, allocations: 133.8 kB / 0.6881 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3797, allocations: 175.5 kB / 0.6883 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.3804, allocations: 0.4936 MB / 0.6888 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3804, allocations: 0 / 0.6888 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3804, allocations: 1.062 kB / 0.6888 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3804, allocations: 0 / 0.6888 GB, free: 15.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001063/0.3814, allocations: 0.6464 MB / 0.6894 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3815, allocations: 12.91 kB / 0.6894 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.031e-05/0.3816, allocations: 71.41 kB / 0.6895 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008976/0.3825, allocations: 138.6 kB / 0.6896 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.383, allocations: 299.6 kB / 0.6899 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.383, allocations: 20.47 kB / 0.6899 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.3831, allocations: 31.05 kB / 0.6899 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.3838, allocations: 466.8 kB / 0.6904 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3839, allocations: 3.938 kB / 0.6904 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3839, allocations: 12.75 kB / 0.6904 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.3839, allocations: 30.3 kB / 0.6904 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.3845, allocations: 320.9 kB / 0.6907 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.387, allocations: 2.181 MB / 0.6929 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.3874, allocations: 240.3 kB / 0.6931 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3876, allocations: 95.45 kB / 0.6932 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3876, allocations: 2.406 kB / 0.6932 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3876, allocations: 35.72 kB / 0.6932 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3876, allocations: 0 / 0.6932 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005928/0.3882, allocations: 309.4 kB / 0.6935 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3883, allocations: 52.69 kB / 0.6936 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.3885, allocations: 270.2 kB / 0.6938 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3886, allocations: 30.73 kB / 0.6939 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3887, allocations: 209.7 kB / 0.6941 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.3887, allocations: 54.72 kB / 0.6941 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.3888, allocations: 47.48 kB / 0.6942 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.389, allocations: 340.7 kB / 0.6945 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.3891, allocations: 58.31 kB / 0.6945 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3893, allocations: 148.8 kB / 0.6947 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.3895, allocations: 207.3 kB / 0.6949 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3895, allocations: 1.094 kB / 0.6949 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004426/0.39, allocations: 272.2 kB / 0.6951 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.39, allocations: 8.812 kB / 0.6951 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.39, allocations: 2.281 kB / 0.6951 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.3902, allocations: 27.03 kB / 0.6952 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3904, allocations: 50.31 kB / 0.6952 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.3916, allocations: 1.431 MB / 0.6966 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3918, allocations: 24.19 kB / 0.6966 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3918, allocations: 16.34 kB / 0.6967 GB, free: 8.562 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.3919, allocations: 165.9 kB / 0.6968 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.392, allocations: 23.48 kB / 0.6968 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.392, allocations: 28.39 kB / 0.6969 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.392, allocations: 6.125 kB / 0.6969 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.392, allocations: 1.406 kB / 0.6969 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3921, allocations: 0 / 0.6969 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.393, allocations: 0.7091 MB / 0.6976 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.393, allocations: 1.469 kB / 0.6976 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.3931, allocations: 22.73 kB / 0.6976 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.221e-05/0.3932, allocations: 37.25 kB / 0.6976 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3932, allocations: 2.5 kB / 0.6976 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3942, allocations: 1.41 MB / 0.699 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3942, allocations: 2.188 kB / 0.699 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.3946, allocations: 319.7 kB / 0.6993 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3947, allocations: 112.2 kB / 0.6994 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.3948, allocations: 7.438 kB / 0.6994 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.3949, allocations: 14.56 kB / 0.6994 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.395, allocations: 22.77 kB / 0.6995 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.395, allocations: 5.281 kB / 0.6995 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001914/0.3952, allocations: 190.4 kB / 0.6996 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3952, allocations: 0 / 0.6996 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003875/0.3955, allocations: 80.72 kB / 0.6997 GB, free: 5.695 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000653/0.3962, allocations: 0.8597 MB / 0.7006 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.3966, allocations: 270.1 kB / 0.7008 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3966, allocations: 0 / 0.7008 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.3969, allocations: 180.2 kB / 0.701 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3973, allocations: 62.98 kB / 0.701 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.4004, allocations: 2.723 MB / 0.7037 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4009, allocations: 0.7954 MB / 0.7045 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.401, allocations: 41.64 kB / 0.7045 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4011, allocations: 83.78 kB / 0.7046 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.4011, allocations: 0 / 0.7046 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.4328, allocations: 5.41 MB / 0.7099 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.77, allocations: 9.406 kB / 0.7099 GB, free: 14.39 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.105949060991406] Failed to read output from testmodel.py, exit status != 0: 10.852131386753172 10.866002449 10.482910527 Calling exit ...