Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 227.7 MB / 247.1 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 69.25 kB / 307.3 MB, free: 396 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 50.53 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004319/0.1123, allocations: 1.692 MB / 359.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.1129, allocations: 167.4 kB / 359.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.113, allocations: 4 kB / 359.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.1131, allocations: 11.81 kB / 359.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1132, allocations: 11.92 kB / 359.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1135, allocations: 47.83 kB / 359.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1137, allocations: 43.92 kB / 359.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1138, allocations: 31.97 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.1139, allocations: 23.86 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.114, allocations: 27.86 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.114, allocations: 4 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.1141, allocations: 8 kB / 359.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1141, allocations: 19.91 kB / 360 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.1142, allocations: 39.75 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1144, allocations: 63.72 kB / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006536/0.1151, allocations: 395.3 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1151, allocations: 15.97 kB / 360.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.1152, allocations: 38.73 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1153, allocations: 12.84 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1156, allocations: 192.1 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1156, allocations: 4.375 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1156, allocations: 8.375 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1161, allocations: 166.3 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1162, allocations: 7.922 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1162, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1162, allocations: 4 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1164, allocations: 39.91 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.117, allocations: 373.7 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1174, allocations: 115.9 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1175, allocations: 62.55 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1176, allocations: 3.984 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.1176, allocations: 34.56 kB / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1176, allocations: 0 / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005265/0.1182, allocations: 125.5 kB / 361.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1183, allocations: 110.8 kB / 361.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1185, allocations: 135.9 kB / 361.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1185, allocations: 29.7 kB / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.1186, allocations: 84.14 kB / 362 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1187, allocations: 11.89 kB / 362 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1187, allocations: 25.97 kB / 362 MB, free: 9.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.119, allocations: 326.8 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.119, allocations: 11.98 kB / 362.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1192, allocations: 71.66 kB / 362.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1194, allocations: 95.59 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1194, allocations: 0 / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003116/0.1198, allocations: 105.4 kB / 362.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1198, allocations: 4 kB / 362.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1198, allocations: 4.281 kB / 362.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1199, allocations: 11.94 kB / 362.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.12, allocations: 23.98 kB / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.12, allocations: 0 / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1201, allocations: 11.89 kB / 362.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1201, allocations: 4 kB / 362.7 MB, free: 8.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001459/0.1203, allocations: 133.7 kB / 362.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.1205, allocations: 77.73 kB / 362.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1206, allocations: 12.72 kB / 362.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1206, allocations: 4 kB / 362.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1206, allocations: 3.938 kB / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.1206, allocations: 7.984 kB / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.121, allocations: 181.6 kB / 363.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1211, allocations: 0 / 363.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1212, allocations: 23.92 kB / 363.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1212, allocations: 0 / 363.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1212, allocations: 4 kB / 363.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1212, allocations: 4 kB / 363.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1213, allocations: 0 / 363.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.1218, allocations: 312.3 kB / 363.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.122, allocations: 104.9 kB / 363.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.122, allocations: 4 kB / 363.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1222, allocations: 0 / 363.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1222, allocations: 12 kB / 363.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1223, allocations: 4.281 kB / 363.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1224, allocations: 109.8 kB / 363.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1224, allocations: 0 / 363.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.1229, allocations: 15.88 kB / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009829/0.1239, allocations: 0.8498 MB / 364.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1242, allocations: 60.34 kB / 364.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1242, allocations: 64 / 364.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.1243, allocations: 16 kB / 364.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.1251, allocations: 42.64 kB / 364.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1276, allocations: 1.585 MB / 366.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.128, allocations: 0.6963 MB / 366.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1281, allocations: 8.656 kB / 366.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.1282, allocations: 19.44 kB / 366.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1282, allocations: 0 / 366.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.156, allocations: 1.837 MB / 368.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.707, allocations: 11.09 kB / 368.8 MB, free: 2.383 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1)