Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005147/0.0005147, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004027/0.0004027, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3289/0.3289, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04598/0.04598, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.899e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.00585/0.005879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005727/0.01161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.01199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001911/0.0139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001541/0.01544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.01701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009952/0.018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008904/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.01978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.01988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0008132/0.0207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.02103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000344/0.02137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001555/0.02293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.077e-05/0.02301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.324e-06/0.02302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.371e-05/0.02303, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003713/0.02674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001063/0.02685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.02706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.02751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.02937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.02945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.02956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.03076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.03078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.03086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.03473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.03592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.03638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.03642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008819/0.0373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=24): time 5.68e-05/0.03736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=24): time 0.002674/0.04003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.04012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.04301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.04314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.04367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.04382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/0.04415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000491/0.04464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.04509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.04575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.04694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.04695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=34) (initialization): time 0.001933/0.04888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.04892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.04894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.04896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.04929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.04931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.04975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.04983, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 4 variables: xor_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] or_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] not_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] and_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.xor_gate.y[1],xor_gate.y[1],$PRE.or_gate.y[1],or_gate.y[1],$PRE.not_gate.y[1],not_gate.y[1],$PRE.and_gate.y[1],and_gate.y[1],$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,or_gate.u[2],booleanConstant2.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,and_gate.u[3],not_gate_C.y[1],booleanConstant.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEvent,and_gate.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 1 * 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.000859/0.05069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.05106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.05311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.05314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.05315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.05316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.05465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.05466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.05481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.05482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/0.05492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.05492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.05493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.05694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.05753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.05822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.05842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.05851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001979/0.06049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.903e-05/0.06052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001492/0.06201, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,and_gate.u[3],and_gate.u[4],and_gate.y[1],booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEventScaled,not_gate.y[1],or_gate.u[2],or_gate.y[1],xor_gate.y[1],not_gate_C.y[1]) * Number of discrete states: 6 (booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003442/0.06546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001276/0.06673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.06674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.06734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.06946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/0.0898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/0.09065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004734/0.09112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.09231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005303/0.09284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.007506/0.1003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.004003/0.1043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04292/0.1473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.518e-05/0.1473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.219e-05/0.1473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0007702/0.1481, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=15 -tolerance=1e-06 -stepSize=0.006 -noemit",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=15 -tolerance=1e-06 -stepSize=0.006 -noemit -s fmi3:me:daskr",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=15 -tolerance=1e-06 -stepSize=0.006 -noemit -s fmi3:cs",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.4964853100245818]