Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.001696/0.001696, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.434/1.434, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] 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.001446/0.001446, allocations: 194.4 kB / 299.8 MB, free: 9.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04138/0.04138, allocations: 8.935 MB / 363.6 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 80.8 kB / 486 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1102, allocations: 54.42 MB / 0.5278 GB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002394/0.1126, allocations: 1.2 MB / 0.529 GB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.1128, allocations: 51.78 kB / 0.529 GB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.1129, allocations: 0 / 0.529 GB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.1129, allocations: 4 kB / 0.529 GB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1131, allocations: 7.922 kB / 0.529 GB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-05/0.1131, allocations: 7.938 kB / 0.529 GB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.1131, allocations: 19.91 kB / 0.529 GB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1132, allocations: 8 kB / 0.529 GB, free: 68 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.1132, allocations: 0 / 0.529 GB, free: 68 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.1133, allocations: 11.94 kB / 0.5291 GB, free: 56 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1133, allocations: 0 / 0.5291 GB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.1133, allocations: 0 / 0.5291 GB, free: 56 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1133, allocations: 4 kB / 0.5291 GB, free: 52 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1133, allocations: 7.922 kB / 0.5291 GB, free: 44 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.776e-05/0.1134, allocations: 19.44 kB / 0.5291 GB, free: 28 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1134, allocations: 0 / 0.5291 GB, free: 28 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1134, allocations: 0 / 0.5291 GB, free: 28 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1134, allocations: 0 / 0.5291 GB, free: 28 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004756/0.1139, allocations: 332.2 kB / 0.5294 GB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1139, allocations: 12.03 kB / 0.5294 GB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.114, allocations: 30.75 kB / 0.5294 GB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.114, allocations: 4.922 kB / 0.5295 GB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1142, allocations: 168.3 kB / 0.5296 GB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1142, allocations: 384 / 0.5296 GB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1142, allocations: 4.312 kB / 0.5296 GB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1143, allocations: 51.97 kB / 0.5297 GB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1143, allocations: 3.938 kB / 0.5297 GB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1143, allocations: 0 / 0.5297 GB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1143, allocations: 3.938 kB / 0.5297 GB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.1143, allocations: 4 kB / 0.5297 GB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1147, allocations: 162.6 kB / 0.5298 GB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.1147, allocations: 49.23 kB / 0.5299 GB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.1148, allocations: 17.66 kB / 0.5299 GB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1148, allocations: 0 / 0.5299 GB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1148, allocations: 30.62 kB / 0.5299 GB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1148, allocations: 4 kB / 0.5299 GB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.1149, allocations: 49.56 kB / 0.53 GB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.115, allocations: 81.36 kB / 0.5301 GB, free: 14.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1151, allocations: 105.8 kB / 0.5302 GB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1151, allocations: 25.7 kB / 0.5302 GB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.1152, allocations: 80.14 kB / 0.5303 GB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1152, allocations: 7.953 kB / 0.5303 GB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1152, allocations: 17.7 kB / 0.5303 GB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1154, allocations: 318.8 kB / 0.5306 GB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.1154, allocations: 0 / 0.5306 GB, free: 14.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.1154, allocations: 39.38 kB / 0.5306 GB, free: 14.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.1155, allocations: 39.36 kB / 0.5307 GB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1155, allocations: 0 / 0.5307 GB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.1156, allocations: 61.59 kB / 0.5307 GB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1156, allocations: 11.94 kB / 0.5307 GB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1156, allocations: 3.984 kB / 0.5307 GB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1156, allocations: 0 / 0.5307 GB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.1157, allocations: 8 kB / 0.5307 GB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1157, allocations: 3.984 kB / 0.5307 GB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.1157, allocations: 0 / 0.5307 GB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1157, allocations: 4 kB / 0.5308 GB, free: 14.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.374e-05/0.1158, allocations: 121.9 kB / 0.5309 GB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1158, allocations: 3.938 kB / 0.5309 GB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.1158, allocations: 7.125 kB / 0.5309 GB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1158, allocations: 0 / 0.5309 GB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.1158, allocations: 7.984 kB / 0.5309 GB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1158, allocations: 0 / 0.5309 GB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.116, allocations: 161.6 kB / 0.531 GB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.116, allocations: 0 / 0.531 GB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1161, allocations: 4 kB / 0.531 GB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1161, allocations: 3.938 kB / 0.531 GB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1161, allocations: 3.938 kB / 0.5311 GB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1161, allocations: 4 kB / 0.5311 GB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1161, allocations: 3.938 kB / 0.5311 GB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1162, allocations: 81.88 kB / 0.5311 GB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1163, allocations: 77.11 kB / 0.5312 GB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1163, allocations: 11.92 kB / 0.5312 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.1163, allocations: 4.031 kB / 0.5312 GB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.1163, allocations: 4.094 kB / 0.5312 GB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1163, allocations: 0 / 0.5312 GB, free: 13.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.1164, allocations: 79.28 kB / 0.5313 GB, free: 13.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1164, allocations: 0 / 0.5313 GB, free: 13.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.1166, allocations: 8 kB / 0.5313 GB, free: 13.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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.0004543/0.117, allocations: 0.6094 MB / 0.5319 GB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.1171, allocations: 19.94 kB / 0.5319 GB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1171, allocations: 0 / 0.5319 GB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.1171, allocations: 7.938 kB / 0.5319 GB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1173, allocations: 10.66 kB / 0.5319 GB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1185, allocations: 1.193 MB / 0.5331 GB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1188, allocations: 0.6805 MB / 0.5338 GB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1188, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.1189, allocations: 11.44 kB / 0.5338 GB, free: 10.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1189, allocations: 0 / 0.5338 GB, free: 10.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.1449, allocations: 1.194 MB / 0.535 GB, free: 9.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.145, allocations: 12.72 kB / 0.535 GB, free: 9.523 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.884703505784273] Failed to read output from testmodel.py, exit status != 0: 8.3869204595685 8.230875318 8.114563469 Calling exit ...