Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.9 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007749/0.0007749, allocations: 106.2 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07308/0.07308, allocations: 12.59 MB / 331.2 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.000449, allocations: 11.75 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09343, allocations: 50.39 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.00149/0.09497, allocations: 1.192 MB / 443.7 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007028/0.09569, allocations: 496.4 kB / 444.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.0958, allocations: 4 kB / 444.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.09586, allocations: 7.922 kB / 444.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.09601, allocations: 3.938 kB / 444.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.09632, allocations: 59.88 kB / 444.2 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.314e-05/0.09642, allocations: 55.78 kB / 444.3 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.09652, allocations: 11.98 kB / 444.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.09656, allocations: 19.86 kB / 444.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.09662, allocations: 19.92 kB / 444.4 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.09664, allocations: 3.938 kB / 444.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.09666, allocations: 4 kB / 444.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.09671, allocations: 11.94 kB / 444.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.09675, allocations: 37.64 kB / 444.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.09683, allocations: 40.48 kB / 444.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.09685, allocations: 0 / 444.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09686, allocations: 3.938 kB / 444.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.09687, allocations: 0 / 444.5 MB, free: 8.84 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004782/0.09735, allocations: 387.3 kB / 444.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.0974, allocations: 12.02 kB / 444.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.09747, allocations: 38.47 kB / 444.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.09751, allocations: 7.906 kB / 444.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.09771, allocations: 207.1 kB / 445.1 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.09773, allocations: 4 kB / 445.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.09776, allocations: 7.984 kB / 445.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.09801, allocations: 149.2 kB / 445.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.09803, allocations: 3.984 kB / 445.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.09805, allocations: 4 kB / 445.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.09806, allocations: 0 / 445.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/0.09811, allocations: 11.98 kB / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.0985, allocations: 264.9 kB / 445.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.09857, allocations: 22.58 kB / 445.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.0986, allocations: 16.84 kB / 445.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.09862, allocations: 0 / 445.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.09877, allocations: 59.41 kB / 445.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.09878, allocations: 0 / 445.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.09898, allocations: 61.59 kB / 445.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.09903, allocations: 55.39 kB / 445.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.09918, allocations: 154.9 kB / 445.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.0992, allocations: 25.7 kB / 445.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.09926, allocations: 92.12 kB / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.09928, allocations: 11.84 kB / 446 MB, free: 7.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.09929, allocations: 3.938 kB / 446 MB, free: 7.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.09938, allocations: 326.8 kB / 446.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.09941, allocations: 11.98 kB / 446.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.09944, allocations: 25.72 kB / 446.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.09947, allocations: 4 kB / 446.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.09948, allocations: 0 / 446.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.733e-05/0.09956, allocations: 65.53 kB / 446.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.09958, allocations: 4 kB / 446.4 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.0996, allocations: 4.031 kB / 446.4 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.09962, allocations: 0 / 446.4 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.09968, allocations: 7.938 kB / 446.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.0997, allocations: 0 / 446.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.09976, allocations: 7.984 kB / 446.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.09978, allocations: 4 kB / 446.5 MB, free: 6.566 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.0999, allocations: 125.6 kB / 446.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.09992, allocations: 7.906 kB / 446.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.09997, allocations: 16.25 kB / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.09997, allocations: 0 / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.09999, allocations: 0 / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1, allocations: 4 kB / 446.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1003, allocations: 322.5 kB / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1003, allocations: 0 / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-06/0.1003, allocations: 4 kB / 446.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1003, allocations: 288 / 446.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1004, allocations: 11.98 kB / 446.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1004, allocations: 0 / 446.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1004, allocations: 0 / 446.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.1005, allocations: 163.3 kB / 447.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1005, allocations: 92.91 kB / 447.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1006, allocations: 0 / 447.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.1006, allocations: 7.984 kB / 447.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1007, allocations: 12 kB / 447.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1007, allocations: 0 / 447.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.1008, allocations: 112.6 kB / 447.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1008, allocations: 0 / 447.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.101, allocations: 8 kB / 447.3 MB, free: 5.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.1013, allocations: 0.6966 MB / 448 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1014, allocations: 20 kB / 448.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1014, allocations: 0 / 448.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.1015, allocations: 15.98 kB / 448.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1018, allocations: 20.48 kB / 448.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.1024, allocations: 0.4976 MB / 448.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.1026, allocations: 0.6965 MB / 449.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.1026, allocations: 11.77 kB / 449.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.1027, allocations: 15.44 kB / 449.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1027, allocations: 4 kB / 449.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.1154, allocations: 1.626 MB / 450.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.1156, allocations: 211.6 kB / 451.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.707, allocations: 0 / 451.1 MB, free: 1.664 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)