Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.002135/0.002134, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.584/2.584, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.349/1.349, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.000532, allocations: 19.98 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7937, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2985/1.092, allocations: 140.1 MB / 0.7198 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03393/1.126, allocations: 14.08 MB / 0.7336 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/1.129, allocations: 27.81 kB / 0.7336 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/1.131, allocations: 342.1 kB / 0.7339 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007437/1.139, allocations: 1.302 MB / 0.7352 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005828/1.145, allocations: 1.085 MB / 0.7362 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005261/1.15, allocations: 1.526 MB / 0.7377 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/1.154, allocations: 1.476 MB / 0.7392 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/1.158, allocations: 0.8874 MB / 0.74 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/1.16, allocations: 0.6764 MB / 0.7407 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007059/1.161, allocations: 44 kB / 0.7407 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/1.166, allocations: 0.9946 MB / 0.7417 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.167, allocations: 0.5489 MB / 0.7423 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.168, allocations: 404.4 kB / 0.7426 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006946/1.175, allocations: 2.541 MB / 0.7451 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.175, allocations: 0 / 0.7451 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.338e-06/1.175, allocations: 4 kB / 0.7451 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001522/1.176, allocations: 4 kB / 0.7451 GB, free: 10.17 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.008744/1.184, allocations: 2.364 MB / 0.7474 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.184, allocations: 8.031 kB / 0.7474 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/1.186, allocations: 248.5 kB / 0.7477 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/1.193, allocations: 0.5668 MB / 0.7482 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007527/1.201, allocations: 3.286 MB / 0.7514 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/1.201, allocations: 123.3 kB / 0.7516 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005255/1.201, allocations: 175.9 kB / 0.7517 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/1.208, allocations: 1.869 MB / 0.7536 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/1.208, allocations: 0 / 0.7536 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/1.208, allocations: 79.94 kB / 0.7536 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/1.208, allocations: 40 kB / 0.7537 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006888/1.215, allocations: 2.073 MB / 0.7557 GB, free: 15.16 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/1.234, allocations: 6.236 MB / 0.7618 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/1.239, allocations: 1.78 MB / 0.7635 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/1.24, allocations: 73.3 kB / 0.7636 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002946/1.243, allocations: 0.9387 MB / 0.7645 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 6.092e-06/1.243, allocations: 0 / 0.7645 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.01176/1.255, allocations: 2.901 MB / 0.7673 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.255, allocations: 201.2 kB / 0.7675 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008608/1.263, allocations: 4.037 MB / 0.7715 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004746/1.264, allocations: 57.7 kB / 0.7715 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.265, allocations: 0.8708 MB / 0.7724 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/1.266, allocations: 457.2 kB / 0.7728 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.266, allocations: 20 kB / 0.7728 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.267, allocations: 349.9 kB / 0.7732 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/1.269, allocations: 0.553 MB / 0.7737 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/1.271, allocations: 0.7695 MB / 0.7745 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/1.273, allocations: 0.6349 MB / 0.7751 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.273, allocations: 0 / 0.7751 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006959/1.28, allocations: 1.721 MB / 0.7768 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.28, allocations: 7.938 kB / 0.7768 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.28, allocations: 4 kB / 0.7768 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/1.282, allocations: 212.2 kB / 0.777 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.285, allocations: 319.5 kB / 0.7773 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009651/1.295, allocations: 6.847 MB / 0.784 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/1.298, allocations: 175 kB / 0.7841 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.298, allocations: 55.91 kB / 0.7842 GB, free: 0.7422 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001815/1.3, allocations: 477.9 kB / 0.7846 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/1.301, allocations: 193.7 kB / 0.7848 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007931/1.309, allocations: 2.067 MB / 0.7868 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.309, allocations: 12 kB / 0.7869 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.309, allocations: 8 kB / 0.7869 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/1.309, allocations: 7.969 kB / 0.7869 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.322, allocations: 3.793 MB / 0.7906 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.322, allocations: 4.25 kB / 0.7906 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.324, allocations: 323.6 kB / 0.7909 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/1.326, allocations: 220 kB / 0.7911 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/1.326, allocations: 43.97 kB / 0.7911 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/1.336, allocations: 6.88 MB / 0.7979 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.336, allocations: 4.031 kB / 0.7979 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/1.343, allocations: 2.12 MB / 0.7999 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.345, allocations: 0.502 MB / 0.8004 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/1.346, allocations: 32 kB / 0.8005 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.348, allocations: 145.8 kB / 0.8006 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004441/1.349, allocations: 113.1 kB / 0.8007 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.349, allocations: 63.95 kB / 0.8008 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006138/1.355, allocations: 3.104 MB / 0.8038 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.91e-07/1.355, allocations: 0 / 0.8038 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004012/1.359, allocations: 0.6469 MB / 0.8044 GB, free: 11.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/1.37, allocations: 3.827 MB / 0.8082 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006678/1.376, allocations: 1.992 MB / 0.8101 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.376, allocations: 0.7969 kB / 0.8101 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/1.38, allocations: 1.396 MB / 0.8115 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/1.385, allocations: 487.8 kB / 0.8119 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.56/1.945, allocations: 19.38 MB / 0.8309 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.949, allocations: 1.567 MB / 0.8324 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004509/1.953, allocations: 0.5175 MB / 0.8329 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.956, allocations: 0.8574 MB / 0.8337 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.204e-06/1.956, allocations: 0 / 0.8337 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/2.093, allocations: 47.22 MB / 0.8798 GB, free: 166.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/2.093, allocations: 254.2 kB / 0.8801 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.745/7.838, allocations: 0 / 0.8801 GB, free: 166.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) Environment - environmentSimulation: