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.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.422/1.422, allocations: 227.7 MB / 247 MB, free: 10.36 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.001919/0.001919, allocations: 70.39 kB / 307.3 MB, free: 408 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09509, allocations: 50.53 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002336/0.09746, allocations: 1.028 MB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.09781, allocations: 135.5 kB / 359 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.0979, allocations: 4 kB / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.098, allocations: 11.86 kB / 359 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.94e-05/0.0981, allocations: 15.88 kB / 359.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.09832, allocations: 47.88 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.09843, allocations: 59.84 kB / 359.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.09857, allocations: 47.91 kB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.09861, allocations: 23.88 kB / 359.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.09867, allocations: 31.84 kB / 359.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.0987, allocations: 4 kB / 359.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.09872, allocations: 11.94 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.09879, allocations: 31.84 kB / 359.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.09886, allocations: 43.73 kB / 359.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.09899, allocations: 83.64 kB / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.099, allocations: 0 / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09901, allocations: 0 / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09902, allocations: 0 / 359.4 MB, free: 12.28 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004655/0.09949, allocations: 407.2 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.09953, allocations: 8.031 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.09957, allocations: 42.73 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.09961, allocations: 12.84 kB / 359.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.09982, allocations: 211.2 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.09984, allocations: 8.375 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.09986, allocations: 4.375 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.1003, allocations: 214.2 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1003, allocations: 0 / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1003, allocations: 4 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1003, allocations: 4 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.1004, allocations: 47.84 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1006, allocations: 185.5 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1008, allocations: 134.9 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1009, allocations: 76.83 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1009, allocations: 3.938 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.101, allocations: 34.56 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.101, allocations: 0 / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000269/0.1012, allocations: 148.8 kB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.1013, allocations: 71.23 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1014, allocations: 142.4 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1015, allocations: 29.7 kB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1015, allocations: 96.45 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.1016, allocations: 4 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.1016, allocations: 37.61 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1017, allocations: 322.8 kB / 361.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.1018, allocations: 19.98 kB / 361.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1019, allocations: 113.7 kB / 361.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1021, allocations: 153.5 kB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1021, allocations: 3.938 kB / 361.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002212/0.1023, allocations: 157.2 kB / 362.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1023, allocations: 4 kB / 362.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1023, allocations: 7.938 kB / 362.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1024, allocations: 4 kB / 362.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1025, allocations: 35.92 kB / 362.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1025, allocations: 4.5 kB / 362.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.1026, allocations: 19.84 kB / 362.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1026, allocations: 8 kB / 362.2 MB, free: 9.219 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001088/0.1027, allocations: 137.7 kB / 362.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1028, allocations: 117.5 kB / 362.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1029, allocations: 21.19 kB / 362.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1029, allocations: 4 kB / 362.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1029, allocations: 4 kB / 362.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1029, allocations: 0 / 362.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1031, allocations: 193.4 kB / 362.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1031, allocations: 8 kB / 362.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.1032, allocations: 23.98 kB / 362.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1032, allocations: 0 / 362.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1032, allocations: 0 / 362.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1032, allocations: 0 / 362.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1032, allocations: 4 kB / 362.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1034, allocations: 159.9 kB / 362.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.1035, allocations: 104.8 kB / 362.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1035, allocations: 4 kB / 362.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.1036, allocations: 8 kB / 362.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.1036, allocations: 0 / 362.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1036, allocations: 4 kB / 362.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.1037, allocations: 109.9 kB / 363 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1037, allocations: 0 / 363 MB, free: 8.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1039, allocations: 20 kB / 363.1 MB, free: 8.219 MB / 302.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: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006098/0.1045, allocations: 0.7432 MB / 363.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1047, allocations: 99.78 kB / 363.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.1047, allocations: 0 / 363.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.1047, allocations: 1.062 kB / 363.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1051, allocations: 75.94 kB / 364 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1067, allocations: 1.662 MB / 365.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.107, allocations: 0.7201 MB / 366.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.107, allocations: 8.641 kB / 366.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.1071, allocations: 23.44 kB / 366.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1071, allocations: 0 / 366.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.131, allocations: 2.433 MB / 368.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.3, allocations: 7.875 kB / 368.8 MB, free: 2.352 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1)