Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001312/0.001312, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001033/0.001033, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9491/0.9491, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.95/1.95, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.361e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003676/0.003699, allocations: 3.038 MB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.005411, allocations: 1.309 MB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.005556, allocations: 8 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.006229, allocations: 334.6 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.006562, allocations: 155 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.006886, allocations: 139.5 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.007251, allocations: 318.8 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.007632, allocations: 184.6 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.007825, allocations: 167.6 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.008093, allocations: 131.6 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.008119, allocations: 16 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.008337, allocations: 155.6 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.008425, allocations: 87.73 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.008502, allocations: 75.81 kB / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.008857, allocations: 346.9 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00886, allocations: 0 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.008862, allocations: 0 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.008867, allocations: 0 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006757/0.009543, allocations: 461.5 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.009584, allocations: 9.344 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.009635, allocations: 54.73 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.009987, allocations: 76.72 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.01022, allocations: 185.5 kB / 1.008 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.01024, allocations: 12.75 kB / 1.008 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.01026, allocations: 24.38 kB / 1.008 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.01061, allocations: 373.3 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01062, allocations: 192 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.01064, allocations: 16.12 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.01067, allocations: 16.36 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.01088, allocations: 196.9 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.01183, allocations: 1.031 MB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.01215, allocations: 90.55 kB / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.01219, allocations: 36.78 kB / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.0122, allocations: 0 / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.01222, allocations: 34.56 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.01222, allocations: 0 / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003413/0.01256, allocations: 154.5 kB / 1.01 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.01259, allocations: 55.41 kB / 1.01 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01273, allocations: 208.3 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.01274, allocations: 25.7 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.01282, allocations: 164 kB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.01283, allocations: 27.75 kB / 1.01 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.01288, allocations: 37.7 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.01296, allocations: 326.8 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.01301, allocations: 35.98 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.01308, allocations: 108.4 kB / 1.011 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.01321, allocations: 148.4 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01321, allocations: 4.062 kB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002166/0.01343, allocations: 194.3 kB / 1.011 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01344, allocations: 4 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.01345, allocations: 4 kB / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.01358, allocations: 20.84 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.01365, allocations: 35.92 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007461/0.0144, allocations: 1.307 MB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.01448, allocations: 23.78 kB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.01448, allocations: 8 kB / 1.012 GB, free: 1.195 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 9.841e-05/0.01458, allocations: 152.4 kB / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01461, allocations: 15.89 kB / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.01462, allocations: 13.47 kB / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01462, allocations: 0 / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01463, allocations: 48 / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01463, allocations: 8.078 kB / 1.012 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.01497, allocations: 414.3 kB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01498, allocations: 0 / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.015, allocations: 4 kB / 1.013 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.01505, allocations: 24.84 kB / 1.013 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.01506, allocations: 3.938 kB / 1.013 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/0.01571, allocations: 1.314 MB / 1.014 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01571, allocations: 4.031 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.01586, allocations: 216.2 kB / 1.014 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.01589, allocations: 19.88 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.0159, allocations: 4.094 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.01596, allocations: 7.938 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.01598, allocations: 3.984 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.01599, allocations: 4 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.01607, allocations: 139.2 kB / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01607, allocations: 4.094 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00024/0.01631, allocations: 59.84 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0003357/0.01665, allocations: 0.7405 MB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01693, allocations: 203.1 kB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01693, allocations: 0.5625 kB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.01701, allocations: 146.7 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01728, allocations: 38.06 kB / 1.016 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.01907, allocations: 2.052 MB / 1.018 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.01918, allocations: 135.8 kB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.531e-05/0.01925, allocations: 25.47 kB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.01932, allocations: 56.47 kB / 1.018 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of SimCode: time 7.31e-07/0.01932, allocations: 0 / 1.018 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08519/0.1045, allocations: 4.485 MB / 1.022 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.346, allocations: 8.594 kB / 1.022 GB, free: 6.699 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.047316724434495]