Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.SSVTest,fileNamePrefix="ExternData_ExternData_Examples_SSVTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1553/0.1553, allocations: 2.933 MB / 293.3 MB, free: 3.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 354.8 MB, free: 3.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 50.34 MB / 405.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.004301/0.1133, allocations: 1.526 MB / 406.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1147, allocations: 0.801 MB / 407.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.1147, allocations: 4 kB / 407.4 MB, free: 14.93 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.1152, allocations: 31.84 kB / 407.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1154, allocations: 31.84 kB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.609e-05/0.1154, allocations: 3.984 kB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.1155, allocations: 23.94 kB / 407.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1156, allocations: 15.98 kB / 407.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.1157, allocations: 11.94 kB / 407.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1159, allocations: 15.92 kB / 407.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1159, allocations: 7.984 kB / 407.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.116, allocations: 31.92 kB / 407.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.116, allocations: 4 kB / 407.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1161, allocations: 11.94 kB / 407.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1162, allocations: 48.16 kB / 407.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1163, allocations: 0 / 407.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1163, allocations: 3.938 kB / 407.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1163, allocations: 0 / 407.7 MB, free: 14.69 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005363/0.1168, allocations: 352.6 kB / 408 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1169, allocations: 11.89 kB / 408 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.1169, allocations: 30.75 kB / 408.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.117, allocations: 8.844 kB / 408.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1172, allocations: 176.3 kB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1172, allocations: 384 / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.1172, allocations: 384 / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1173, allocations: 50.19 kB / 408.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1174, allocations: 11.88 kB / 408.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1174, allocations: 0 / 408.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1174, allocations: 0 / 408.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.1175, allocations: 15.98 kB / 408.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1179, allocations: 252.9 kB / 408.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.118, allocations: 30.5 kB / 408.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1181, allocations: 32.84 kB / 408.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1181, allocations: 0 / 408.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.1181, allocations: 30.56 kB / 408.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1181, allocations: 0 / 408.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002618/0.1184, allocations: 53.69 kB / 408.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1185, allocations: 51.41 kB / 408.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1186, allocations: 118 kB / 408.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1186, allocations: 25.7 kB / 408.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.1187, allocations: 88.12 kB / 409 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1187, allocations: 11.89 kB / 409 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1188, allocations: 9.719 kB / 409 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1189, allocations: 322.8 kB / 409.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.119, allocations: 7.984 kB / 409.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.119, allocations: 8 kB / 409.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.1191, allocations: 24.84 kB / 409.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1191, allocations: 3.938 kB / 409.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.1192, allocations: 57.53 kB / 409.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1193, allocations: 4 kB / 409.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1193, allocations: 0 / 409.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1193, allocations: 0 / 409.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1194, allocations: 7.984 kB / 409.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1194, allocations: 8.031 kB / 409.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.1195, allocations: 4 kB / 409.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1195, allocations: 0 / 409.5 MB, free: 12.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001012/0.1196, allocations: 113.8 kB / 409.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1196, allocations: 4 kB / 409.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1197, allocations: 7.516 kB / 409.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1197, allocations: 0 / 409.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1197, allocations: 0 / 409.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1197, allocations: 4 kB / 409.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.1199, allocations: 165.6 kB / 409.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1199, allocations: 0 / 409.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.12, allocations: 7.984 kB / 409.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.12, allocations: 0 / 409.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.12, allocations: 0 / 409.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.12, allocations: 320 / 409.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.12, allocations: 7.938 kB / 409.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1202, allocations: 151.4 kB / 409.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1202, allocations: 81.05 kB / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1203, allocations: 3.984 kB / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.1203, allocations: 0 / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1204, allocations: 4 kB / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1204, allocations: 0 / 410 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.1205, allocations: 99.25 kB / 410.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1205, allocations: 0 / 410.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1207, allocations: 12 kB / 410.1 MB, free: 11.94 MB / 350.1 MB 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 (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.001032/0.1218, allocations: 0.7656 MB / 410.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1219, allocations: 35.91 kB / 410.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1219, allocations: 3.938 kB / 410.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.122, allocations: 8 kB / 410.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1223, allocations: 10.12 kB / 410.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1237, allocations: 1.234 MB / 412.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.124, allocations: 0.6883 MB / 412.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.124, allocations: 4 kB / 412.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1241, allocations: 15.42 kB / 412.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1241, allocations: 0 / 412.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.1562, allocations: 1.721 MB / 414.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.651, allocations: 10.3 kB / 414.6 MB, free: 7.402 MB / 350.1 MB (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_SSVTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_SSVTest.fmu > ExternData_ExternData.Examples.SSVTest.pipe 2>&1)