Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 110.4 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003537/0.003537, allocations: 278.4 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.313/1.313, allocations: 180.6 MB / 0.5377 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 92.77 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1778, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006054/0.1839, allocations: 4.006 MB / 0.8374 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.1869, allocations: 1.811 MB / 0.8392 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1871, allocations: 11.94 kB / 0.8392 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1885, allocations: 0.5059 MB / 0.8397 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.189, allocations: 226.9 kB / 0.8399 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.1896, allocations: 204.9 kB / 0.8401 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005608/0.1901, allocations: 478.3 kB / 0.8405 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.1907, allocations: 293.4 kB / 0.8408 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.1909, allocations: 207.2 kB / 0.841 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.1913, allocations: 227.1 kB / 0.8412 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.1914, allocations: 28 kB / 0.8413 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1918, allocations: 255.4 kB / 0.8415 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1919, allocations: 127.6 kB / 0.8416 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1921, allocations: 171.2 kB / 0.8418 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.1928, allocations: 0.502 MB / 0.8423 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1928, allocations: 0 / 0.8423 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1928, allocations: 0 / 0.8423 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1928, allocations: 0 / 0.8423 GB, free: 15.61 MB / 0.5919 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.001048/0.1938, allocations: 0.5751 MB / 0.8428 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1939, allocations: 13.34 kB / 0.8428 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.595e-05/0.1939, allocations: 8.844 kB / 0.8429 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.194, allocations: 70.72 kB / 0.8429 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.1949, allocations: 128.6 kB / 0.843 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1952, allocations: 237.9 kB / 0.8433 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1953, allocations: 25.02 kB / 0.8433 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.1953, allocations: 24.38 kB / 0.8433 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.196, allocations: 471.4 kB / 0.8438 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.196, allocations: 0 / 0.8438 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.196, allocations: 12 kB / 0.8438 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.1961, allocations: 32.64 kB / 0.8438 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.1966, allocations: 330.2 kB / 0.8441 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1989, allocations: 2.136 MB / 0.8462 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1993, allocations: 170.6 kB / 0.8464 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.1995, allocations: 96.8 kB / 0.8465 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1995, allocations: 4 kB / 0.8465 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1996, allocations: 38.56 kB / 0.8465 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1996, allocations: 0 / 0.8465 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.000603/0.2002, allocations: 217.9 kB / 0.8467 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2002, allocations: 55.66 kB / 0.8468 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.2005, allocations: 269.8 kB / 0.847 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2006, allocations: 33.7 kB / 0.8471 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.2007, allocations: 212.2 kB / 0.8473 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.2008, allocations: 47.64 kB / 0.8473 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.2008, allocations: 45.91 kB / 0.8473 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.201, allocations: 338.8 kB / 0.8477 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2011, allocations: 52.44 kB / 0.8477 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2013, allocations: 152.8 kB / 0.8479 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.2016, allocations: 233.3 kB / 0.8481 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2016, allocations: 3.938 kB / 0.8481 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00049/0.2021, allocations: 258 kB / 0.8483 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2021, allocations: 8 kB / 0.8483 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2021, allocations: 4.375 kB / 0.8484 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.2022, allocations: 28.84 kB / 0.8484 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2024, allocations: 51.86 kB / 0.8484 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.2036, allocations: 1.322 MB / 0.8497 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2038, allocations: 23.84 kB / 0.8497 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2038, allocations: 8 kB / 0.8497 GB, free: 7.359 MB / 0.5919 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.0001916/0.204, allocations: 178.4 kB / 0.8499 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.2041, allocations: 27.81 kB / 0.8499 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.2041, allocations: 29.77 kB / 0.85 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.2041, allocations: 0 / 0.85 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2041, allocations: 4 kB / 0.85 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2041, allocations: 0 / 0.85 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.2051, allocations: 0.6665 MB / 0.8506 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2051, allocations: 4 kB / 0.8506 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.2052, allocations: 23.92 kB / 0.8507 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.323e-05/0.2053, allocations: 24.84 kB / 0.8507 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2053, allocations: 4 kB / 0.8507 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.2065, allocations: 1.323 MB / 0.852 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2065, allocations: 7.969 kB / 0.852 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.2068, allocations: 313.3 kB / 0.8523 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.2069, allocations: 47.72 kB / 0.8523 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.207, allocations: 4 kB / 0.8523 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.2071, allocations: 11.94 kB / 0.8523 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.2072, allocations: 15.97 kB / 0.8524 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2072, allocations: 8 kB / 0.8524 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002047/0.2074, allocations: 193.2 kB / 0.8525 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2074, allocations: 0 / 0.8525 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004024/0.2078, allocations: 71.89 kB / 0.8526 GB, free: 4.176 MB / 0.5919 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.0007267/0.2085, allocations: 0.8538 MB / 0.8535 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.209, allocations: 274.7 kB / 0.8537 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.209, allocations: 0 / 0.8537 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.2092, allocations: 174.6 kB / 0.8539 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2097, allocations: 62.02 kB / 0.8539 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.2132, allocations: 2.741 MB / 0.8566 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.2136, allocations: 0.7985 MB / 0.8574 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.2138, allocations: 38.27 kB / 0.8574 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2139, allocations: 91.39 kB / 0.8575 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.2139, allocations: 0 / 0.8575 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2441, allocations: 5.638 MB / 0.863 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.67, allocations: 6.672 kB / 0.863 GB, free: 9.414 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.046705216052942] Failed to read output from testmodel.py, exit status != 0: 11.837871501978952 11.865659303 11.667990977 Calling exit ...